Anyone gotten youtube videos to play on android devices?

I have tried everything.

webppopups, webviews, php creating html, all the differnet format youtube URL’s. EVERYTHING.

it works on IOS. but does not work on actual android devices.

in most cases, i can get it to work in the simulator, but it never works on the actual device.

im using different android devices, an older Droid phone, and a google nexus 7 tablet.

i also notice when it doesnt work on the device, it doesnt work differently on the different devices.

im guessing it has something to do with the actual versions of android on the devices.

I can post a bunch of examples, but none of them actually work.

does anyone have a simple set of code to play a youtube video on an actual device?

I cant believe no-one has had this problem

thanks
[import]uid: 55711 topic_id: 33221 reply_id: 333221[/import]

Hi

I am experiancing the same problem, got it working in ios, but not android. Android shows start page of video and plays the audio from the youtube clip, but not the video bit. It shows a blank screen.

Still trying to find a work around for it. [import]uid: 143974 topic_id: 33221 reply_id: 133531[/import]

I tried everything, it just doesn’t work with corona. I found alot of android stuff doesnt work right with corona (especially widgets)

I ended up using another product for the android development.
[import]uid: 55711 topic_id: 33221 reply_id: 133577[/import]

We currently do not support video playback in webview/popups on Android. This is because we would have to set up a video player ourselves in Java to get this working, versus iOS does this for us for free. It’s on our feature request list, but low priority due to the low demand for this functionality.

Most of our customers use our [lua]media.playVideo()[/lua] function on Android to play videos (such as MP4s) that are included within their app or stream it from the web. Although, that API does not support youtube on Android or iOS. This is because youtube does not provide direct access to videos and they want you to go through their website; probably to force end-users to see their ads first. [import]uid: 32256 topic_id: 33221 reply_id: 133598[/import]

Thanks for the feedback Joshua and kramonas. For now I will exclude the video bit from the android version of the app. [import]uid: 143974 topic_id: 33221 reply_id: 133614[/import]

Hi

I am experiancing the same problem, got it working in ios, but not android. Android shows start page of video and plays the audio from the youtube clip, but not the video bit. It shows a blank screen.

Still trying to find a work around for it. [import]uid: 143974 topic_id: 33221 reply_id: 133531[/import]

I tried everything, it just doesn’t work with corona. I found alot of android stuff doesnt work right with corona (especially widgets)

I ended up using another product for the android development.
[import]uid: 55711 topic_id: 33221 reply_id: 133577[/import]

We currently do not support video playback in webview/popups on Android. This is because we would have to set up a video player ourselves in Java to get this working, versus iOS does this for us for free. It’s on our feature request list, but low priority due to the low demand for this functionality.

Most of our customers use our [lua]media.playVideo()[/lua] function on Android to play videos (such as MP4s) that are included within their app or stream it from the web. Although, that API does not support youtube on Android or iOS. This is because youtube does not provide direct access to videos and they want you to go through their website; probably to force end-users to see their ads first. [import]uid: 32256 topic_id: 33221 reply_id: 133598[/import]

Thanks for the feedback Joshua and kramonas. For now I will exclude the video bit from the android version of the app. [import]uid: 143974 topic_id: 33221 reply_id: 133614[/import]