How to play youtube video in windows store app using c sharp
How to play youtube video in windows store app using c sharp
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaganathan BantheswaranPosted Jan 13, 2014, 4:01 AM
You can play video using MediaElement as shown,
MediaOpened="Element_MediaOpened" MediaEnded="Element_MediaEnded"/>
Or you can set the source in code behind like,
myMedia.Source = new Uri(youtubeurl, UriKind.AbsoluteOrRelative);