How to embed youtube in corona sdk

I want to embed youtube on my app. How do to this? pls give me some exp code

because i find indocument have only stream vdo only.

thank alot

You will need to use a native.newWebView to do this.  See:  http://docs.coronalabs.com/api/library/native/newWebView.html

You can also look at our Business Sample App at https://github.com/coronalabs/business-app-sample  There is a section in there that shows YouTube videos.  Be aware that it doesn’t work all that well in the simulator, it’s more of a device feature.

thank you so much rob

You will need to use a native.newWebView to do this.  See:  http://docs.coronalabs.com/api/library/native/newWebView.html

You can also look at our Business Sample App at https://github.com/coronalabs/business-app-sample  There is a section in there that shows YouTube videos.  Be aware that it doesn’t work all that well in the simulator, it’s more of a device feature.

thank you so much rob