YouTube miniatures

Hello.

I was wondering if there is some corona API or any other way (except downloading from external server etc), to display YouTube miniatures inside corona table View.

What I mean about miniatures? Heres example directly from youtube:

asda.png

I don’t need either the Autor/lenght of the video, just miniature and title would do fine.

If its not possible I guess I will be forced to prepare data myself with miniatures and titles, by hand, but i would still prefer to do it clean and nice way :), with just list of link’s to each wideo for example.

Thanks in advance. (so far didn’t tried much since its needed for my fresh idea and would like to check with more experienced user with using such feature inside corona).

The only way to play YouTube videos is in a native.newWebView(). Native objects don’t really work in tableViews. Now if that’s just a thumbnail and not an actual “watch the video here”, we do have our business app sample that does an RSS type feed of YouTube and opens a second screen with a webView to play the actual video. I don’t have a thumbnail showing, but it wouldn’t be hard to add if Google is providing the information in the feed.

https://github.com/coronalabs-samples/business-app-sample

Rob

There is a rest Apihttps://developers.google.com/youtube/v3/docs/videos

Thank you I thumbnails might be enough, will investigate further if its possible to get all videos from specific channel without knowing actually links to them etc. But I guess it would all work.

This topic can be marked as resolved.

The only way to play YouTube videos is in a native.newWebView(). Native objects don’t really work in tableViews. Now if that’s just a thumbnail and not an actual “watch the video here”, we do have our business app sample that does an RSS type feed of YouTube and opens a second screen with a webView to play the actual video. I don’t have a thumbnail showing, but it wouldn’t be hard to add if Google is providing the information in the feed.

https://github.com/coronalabs-samples/business-app-sample

Rob

There is a rest Apihttps://developers.google.com/youtube/v3/docs/videos

Thank you I thumbnails might be enough, will investigate further if its possible to get all videos from specific channel without knowing actually links to them etc. But I guess it would all work.

This topic can be marked as resolved.