We're currently developing a mobile app for our business, which includes a music player. We would like to embed our Soundcloud playlist but we have issues as there only is a SDK for iOS but not Android
What would be a workaround for this ?
Thanks for your help,
Antoine
There is a Java Wrapper for the Soundcloud API you can use (Github). It is no longer maintained but it works.
Related
I cant use WebView, please help me
I will try my best & I hope I can solve it here.
check out official release of YouTube Android Player API, which plays yt videos natively, without any web-side
and if you want/need web player, but you can't use WebView - you may implement "FirefoxView", web engine used by Mozilla in their Android software, not related to Chromium at all, called GeckoView
You can use lib from opensource: link
I think we can use Android.Media.MediaPlayer Class and MPMoviePlayerController Class (Xamarin.iOS.dll) to play back stream videos on Android and iOS device, but they are all platform specific controls. Is there any platform-independent control we could use to play stream video for Android and iOS in Xamarin.Form app? I hope I can use it once and for all these two mobile platforms and hope it is not a web-view control.
Thanks.
I'd personally use LibVLCSharp which is cross-platform audio and video API for the .NET platforms. It supports streaming, equalizers, subtitles, network browsing, and many other things, so it's quite future-proof in case you want to extend the feature set of your application.
As per your requirement, the library includes a control that you can place right into XAML, like this:
<vlc:VideoView x:Name="videoView" MediaPlayer="{Binding MediaPlayer}" AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All" InputTransparent="True"/>
Here's an official Xamarin.Forms sample that should get you started: https://github.com/videolan/libvlcsharp/tree/master/Samples/Forms
Is there a cross-platform solution for Xamarin Forms for Webview to implement a youtube video to an activity.
(Inb4 Adam Fisher spams his $50 nuget package solution, I'm not interested)
I'd suggest taking look at here for android: Playing youtube video in Android app
Just add the renderer with the right view for both platforms and afterwards you can use the API
PS: Who is Adam Fisher
EDIT: link for IOS: https://forums.xamarin.com/discussion/59329/playing-an-youtube-video-from-ios-app
I am building an Android app with my youtube videos. I want to add casting support to these videos within my app. I don't want to build separate receiver app in chromecast but want to just use the existing youtube receiver app in chromecast/Roku..etc.
I am currently using 'Youtube Android Player' API to embed videos in my app but I can't find the cast support in-built. I am willing to move to just HTML5 youtube embedding if casting support works that way.
Would greatly appreciate if someone can suggest a way if they are able build such cast'ing support of youtube videos in their android app?
(I have researched internet and some of the 2013 & early '14 posts suggest it's not possible. Would like to know if anything has changed since then)
There is currently no support in the Cast SDK to cast YT videos; some folks have used a custom receiver and have used embedded iframe to show YT videos but that is not a perfect solution and has issues; for example you cannot skip ads, etc.
I have an Android app which stream video from the Internet. The owners of the app doesn't want to use the native Android video player. What they want is to have any third-party (preferably Open-source) video player to be integrated in this app.I don't really know what its implications could be.
I came to know that Dolphin and VLC, they both are open-source, but what I don't know is, if they provide their SDK for integration into an app or not.
So, I have the following questions -
Do we have some third-party player (their SDK) to be integrated into an app?
Do we have tutorials of how-to implement them?
I've searched a lot for this but didn't get anything.
Do we have some third-party player (their SDK) to be integrated into an app?
- You can try our product, NexPlayer SDK, in www.nexstreaming.com
It is not an open-source player obviously, but you could get a demo and try to integrate in you app.
Do we have tutorials of how-to implement them?
- It's an SDK + sample app and has full documentation about the SDK.