Playing a YouTube video

Assuming I have the YouTube video id (e.g., 9bZkp7q19f0), is there a way to play a YouTube video inside a Corona app? Ideally, the video would play inside the app, but it would be acceptable if the iOS/Android YouTube app launched and played the video. [import]uid: 92621 topic_id: 31430 reply_id: 331430[/import]

It is not officially supported, but can be done.

This was old the old school way (and explains why this can’t be supported/done through the video player):
http://developer.coronalabs.com/forum/2010/12/16/can-i-play-youtube-video-my-corona-app

But newer HTML 5 capable browsers make this obsolete. On iOS 6 and presumably the latest Android systems, you should use a WebView and follow Google’s instructions for embedding a video. On iOS 6, Apple has officially removed the built-in YouTube app and anybody using the old-school way needs to move to a webview.

[import]uid: 7563 topic_id: 31430 reply_id: 125639[/import]

It is not officially supported, but can be done.

This was old the old school way (and explains why this can’t be supported/done through the video player):
http://developer.coronalabs.com/forum/2010/12/16/can-i-play-youtube-video-my-corona-app

But newer HTML 5 capable browsers make this obsolete. On iOS 6 and presumably the latest Android systems, you should use a WebView and follow Google’s instructions for embedding a video. On iOS 6, Apple has officially removed the built-in YouTube app and anybody using the old-school way needs to move to a webview.

[import]uid: 7563 topic_id: 31430 reply_id: 125639[/import]