Play youtube video at iframe.
Document, plugin and sample capx are included.
Very cool ; thanks again ...
ive been wanting something like this for awhile now. Awesome cant wait to put it to good use
Cool plugin, does it work on mobiles?
It might work on browser, but might not work on cocoonJS.
It is quite probably that it won't work in Canvas+, at least at the moment. It might work on the new Webview+ for iOS, as it supports DOM elements.
I can't seem to create 2 instances of it?
You could place 2 youtube player plugins on layout editor, no problem.
Develop games in your browser. Powerful, performant & highly capable.
I made a simple .capx with just 2 youtube players and only one of them seems to run at any given time. (Whichever one I created second.
Maybe the embed code is a bit off? I'm able to create 2 instances of a YT player when I embed them in a site .
You are right, it would failed when more than one instances, sorry for my mistake. I would try to fix it.
Fixed, please download plugin again. Here is a sample capx,
why it didn't play in my game?
but when i created new project and put the player it plays the video.
Could you provide a simple test capx?
okay here it is.
just remove