YouTube GetVideoUriAsync Returns Null & GetUrisAsync Return Null

Sep 28, 2014 at 9:38 AM
Hi

First of all I love this YouTube api, it's working really well in my WinRT Universal App.

But I'm having a problem with a particular video.

I extract the VideoID from this link :

https://www.youtube.com/watch?v=V4TAtCPVlHc

and then call GetVideoUriAsync, at this point I want the lowest quality/smallest video uri available.
// get video uri
 var YouTubeUri = await YouTube.GetVideoUriAsync(VideoId, YouTubeQuality.QualityLow);
The call returns null, so I try this to see what's available, but it also return no items.
// get all video uris
YouTubeUri[] AllYouTubeUris = await YouTube.GetUrisAsync(VideoId);
A call to get thumbnail images works.
 // no video uris available, so get thumbnail image
Uri photoUrl = YouTube.GetThumbnailUri(VideoId, YouTubeThumbnailSize.Medium);
The code is working on loads of other VideoID's but not this one??

Can you help my solve this puzzle??

Thanks

Jason
Sep 28, 2014 at 9:53 AM
I think I know what the problem might be.

It's not a static video, as in an .mp4 file, it's a link to a live streaming video??

That would explain why there is no uri to .mp4??

Will update this post when I resolve it!

Feedback still very welcome though!
Coordinator
Oct 6, 2014 at 8:31 PM
What did you find out?
Oct 7, 2014 at 11:41 AM
It was a live streaming event, so no actual .mp4 file to play.

I don't know how to extract the 'live stream' url from the web page content, so I have had to leave it there and only support normal youtube playing.

Shame, if anyone knows how to extract and then live stream these, that would be mega cool to have!!
Apr 26, 2015 at 2:12 AM
Edited Apr 26, 2015 at 2:12 AM
if this issue has been fixed, please let me know! thank you in advance.