Hi, I was wondering if anyone could point me in the right direction to be able to play YouTube videos on a Xamarin forms cross platform application?
Thanks in advance.
The easiest way : Use WebView to load youtube video links.
But We can't play the video via the link directly.
As a workaround, add a embed tag from Youtube for the movie you want to play as the UIWebView's content. UIWebView will detect that the embedded object is a Youtube link, and the web view's content will be the youtube preview for the video
For example :
Thanks for your help
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies