locked
How to play live stream youtube video on universal app

    Question

  • I just got value of title,thumb... but I did not see id of each video.

    video = new ViewModel.LearningbyVideo();
                video.title = searchResult.Snippet.Title;
                video.thumbUri = searchResult.Snippet.Thumbnails.Default.Url;
                video.description = searchResult.Snippet.Description;
                arrays.Add(video);
    Now I dont know how to play video by Live stream youtube and take id of each video

    Tuesday, May 05, 2015 5:48 AM

All replies

  • Hello,

    You have not provided enough information for us to suggest a resolution. Are you using the MediaElement to play the video? The MediaElement doesn't support YouTube streaming out of the box. You will need to write or find a custom MediaStreamSource that can parse the YouTube streaming format.

    -James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Tuesday, May 05, 2015 10:27 PM
    Moderator