Personal tools

Views

Talk:Flash Player:9:Update:Full-Screen Mode:Demos

From Adobe Labs

Table of contents
[edit]

Safari bug

In fullscreen on Safari browser something strange is happening with focus. Mouse events like over or move are not registered until you press and hold mouse button. When you release the mouse button fullscreen is not interactive again.

[edit]

Wmode bug

Apparently the fullscreen only works for wmode="window" embeds, wmode="opaque" and wmode="transparent" prevents fullscreen mode. Can someone confirm this?

-- I have seen this as well. However I can live without wmode="transparent" for the current project I'm working on. The bad thing is that in FireFox, in order to use an SWF within a div that has overflow:hidden, wmode="transparent" or wmode="opaque" is necessary to have the SWF clipped the right way. Which prevents fullscreen mode. This seems like a bug to me, I want to be able to display my movie in a clipped div, but also be able to use fullscreen mode!

-- works with the new beta player: http://labs.adobe.com/downloads/flashplayer9.html --Mihai Iorga 05:17, 8 Sep 2007 (PDT)

[edit]

html bug

HTML elements such as iframes or divs are hidden when going to full screen.

Example: http://drumbeatinsight.com/examples/htmlcomponent/fullscreen/HTMLFullScreenOpaque.html

[edit]

WMODE="TRANSPARENT" WORK AROUND

After days of research and testing a work around has been found to keep wmode as transparent and redraw the swf when exiting fullScreen mode.

Set the swf inside a div and apply the following javascript function to that div:

<script language="Javascript">

function refreshvideo() { var vidDivBorder = document.getElementById('vidDiv').style.border; if(vidDivBorder == '0px solid rgb(0, 0, 0)'){ document.getElementById('vidDiv').style.border = "0px solid rgb(255, 0, 255)"; } else{ document.getElementById('vidDiv').style.border = "0px solid rgb(0, 0, 0)"; }

}

</script>


Then call that function via Flash when exiting fullScreen: ExternalInterface.call('refreshvideo');

The change in border color causes the flash to reappear consistently.

This has been tested on Window$ and Mac in IE 6/7, FireFox 2, and Safari.

Credit: Christopher Bousquet Joseph Baldini www.eFashionSolutions.com

Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:Flash_Player:9:Update:Full-Screen_Mode:Demos"