Sprite Displaying Over Youtube Video In iFrame

Get help using Construct 2

Post » Sat Sep 28, 2013 8:51 pm

I'm trying to make a youtube background for a game, but for some reason I cannot get a sprite to display on a level above an iframe. Am I missing something, or is it not possible to render a sprite on top of an iframe?
B
3
Posts: 2
Reputation: 729

Post » Sun Sep 29, 2013 8:44 pm

http://stackoverflow.com/questions/3820325/overlay-opaque-div-over-youtube-iframe

You need to add this "wmode=opaque" parameter to the youtube URL to be able to display stuff on top of it.

I made a test here... check the page source:
https://dl.dropboxusercontent.com/u/8367729/construct/exports/Seesaw/index.html
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Tue Oct 08, 2013 3:37 am

Oh great, this is super helpful. Thank you!
B
3
Posts: 2
Reputation: 729


Return to How do I....?

Who is online

Users browsing this forum: David181, nahima, Shenkai the ssj and 21 guests