Shine Cardozo
Shine Cardozo

Reputation: 487

Overlay does not work if it is used over embeded video [Firefox]

Please checkout the following code it works perfectly in chrome but not in mozilla firefox. Please help me sort out this problem for firefox.

I want a marquee tag to float over video, ticker like.

I have tried using "relative" and "absolute" position, but somehow z-index over embeded video dosen't seem to work.

Here is the code

Upvotes: 0

Views: 83

Answers (1)

Jaykumar Patel
Jaykumar Patel

Reputation: 27614

I added the ?wmode=opaque at the end of the embed "link".

Check jsFiddle

Your URL : http://www.youtube.com/embed/WfDK-vfPwag?wmode=opaque

also Use <iframe> tag to solve this problem and support all Broswer.

your Updated code

<iframe width="80%" height="100%" src="http://www.youtube.com/embed/WfDK-vfPwag?wmode=opaque" frameborder="0" allowfullscreen></iframe>

Upvotes: 1

Related Questions