This is a message.

Anchor tag causes full-screen problems with wmode = transparent Created Mar 13, 2009

This thread is solved

Views: 3147     Replies: 2     Last reply Mar 13, 2009  
You must login first before you can use this feature

joed

Posts: 4

Registered:
Feb 20, 2009

Anchor tag causes full-screen problems with wmode = transparent

Posted: Mar 13, 2009

In Firefox 3 on a PC, if I use this code:


flowplayer("videoplayer", { src: "http://flowplayer.org/swf/flowplayer-3.0.7.swf", wmode: 'transparent'});

with this HTML:


 <a id="videoplayer" href="http://player-e7.simplecdn.net/flowplayer.flv"></a>

entering full screen causes the bottom quarter of the video to freeze. The rest of the screen shows the rest of the playing video fine, and the buttons all work. Returning to normal restores playback fully, and the problem is repeatable.

If I remove the "wmode:'transparent'" part, everything is fine (although then my navigation menu is covered by the video, which is why I need the wmode).

However (and here's the weird part), if I replace the anchor tag with a div, instead, like this:


<div id="videoplayer" href="http://player-e7.simplecdn.net/flowplayer.flv"></div>

everything works correctly! (Yes, I know div's aren't supposed to have href's. It also works with an empty div and a call to $f().play() in the JS, but this shows the contrast better, I thought).

So: weird bug, with easy workaround.

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» Anchor tag causes full-screen problems with wmode = transparent

Posted: Mar 13, 2009

Reply to: Anchor tag causes full-screen problems with wmode = transparent, from joed
to my understanding wmode 'transparent' cannot be used if you want fullscreen

joed

Posts: 4

Registered:
Feb 20, 2009

» » Anchor tag causes full-screen problems with wmode = transparent

Posted: Mar 13, 2009

Reply to: » Anchor tag causes full-screen problems with wmode = transparent, from Anssi
I think it's supposed to work after flash version 9,0,115,0.