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?
Develop games in your browser. Powerful, performant & highly capable.
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:
Oh great, this is super helpful. Thank you!