Youtube now works in Corona! :D

Really? “I copy/pasted your code” wasn’t clear enough? [import]uid: 44647 topic_id: 25783 reply_id: 104465[/import]

Oh! I thought that you got that working and found a new video that didn’t work, my bad :wink: [import]uid: 24111 topic_id: 25783 reply_id: 104470[/import]

Toby, he posted code trying to help and is trying to troubleshoot. You’re pushing the line on disrespectful there dude.

oskwish, I tried on Windows. I get the nil error when using your youtube link and I just get a blank screen with no messages in the terminal when I use my own youtube link that doesn’t require login. I will try on my Mac later but I expect the same results as MortenS. [import]uid: 31262 topic_id: 25783 reply_id: 104472[/import]

Hey guys. I don’t know if you’ve noticed it but this code does work for me on my Mac in the simulator with another video. SO THE CODE WORKS. It just doesn’t work in the Windows simulator but according to the documentation http://developer.anscamobile.com/reference/index/mediaplayvideo it’s not even supported in the simulator. [import]uid: 125239 topic_id: 25783 reply_id: 104490[/import]

MortenS, so it doesn’t work with the video in my code? [import]uid: 24111 topic_id: 25783 reply_id: 104493[/import]

oskwish, no not for me at least. But as I wrote earlier I think it’s because there is an age restriction in youtube on that video so I would need to login first. Haven’t tried that though… [import]uid: 125239 topic_id: 25783 reply_id: 104496[/import]

Just tested on Mac, works as Morten reported but with my own video link which is not age restricted. Does not work at all on Windows. [import]uid: 31262 topic_id: 25783 reply_id: 104569[/import]