Hi Guys
How would I embed a YouTube video into an app? Ideally I want to be able to click a button and have a YouTube video play, then return back to the layout with the button afterwards. is this possible?
Cheers
Lucas
Bump because i'm interested too.
I'm interested too.
As am I. I have a strange compulsion to add an easter egg which immediately rickrolls you.
Here is the sample .capx
http://dl.dropbox.com/u/76227787/YoutubeDemo.capx
But you need a Pode's HTML Div Plugin before to test this demo
Develop games in your browser. Powerful, performant & highly capable.
Joannesalfa (or Pode) i dont know what is going on but i your example all links display a clip on youtube but in my project html_div_pode cant.
delgado : can you post a test .capx ?
Pode dl.dropbox.com/u/44710358/yt.capx
delgado i can see a video on your .capx, i guess i turned on HTML5 for my youtube settings.
delgado : I have no problem when loading your project, I can see the video.
By the way, it's better to use an <iframe> directly, instead of embedding an iframe with an url inside a <div> <img src="smileys/smiley2.gif" border="0" align="middle">.
Like that : https://dl.dropbox.com/u/1412774/yt_mod.capx
Pode
I could view youtube from your capx only at chrome browser. Firefox shows me a black block.
Edit:
Solution
Add
&html5=1
at the end of url.
rexrainbow : thanks for the info ! <img src="smileys/smiley2.gif" border="0" align="middle" />
Hello Guys, i can embed videos with the I Frame Pod plugin, anyway i would like you to tell me how to make the video a background and how remove the chart around it. (if it's possible)
Thank a lot!