This is a message.

How to set wmode in Flowplayer Created Feb 13, 2009

This thread is solved

Views: 11012     Replies: 7     Last reply Aug 18, 2011  
You must login first before you can use this feature

emaga00

Posts: 22

Registered:
Dec 30, 2008

How to set wmode in Flowplayer

Posted: Feb 13, 2009

Hi, I am trying to add wmode: Transparency in my Flowplayer video but cannot figure out to where it should be added. My code is below. Also, here is a link to my test page. Thanks for any help!



  <script src="flowplayer-3.0.2.min.js"></script> 
<link rel="stylesheet" type="text/css" href="flowplayer.css">
<a class="player" id="fms" style="width: 200px; height: 170px; background-color: #F2EDDD; text-align: center;"><img src="Splash_all_recipes_grilled_steak3.jpg" alt="Play this video" width="200" height="150" /></a>

<script language="JavaScript"> 
$f("fms", "flowplayer-3.0.2.swf", {   
	clip: {   
        url: 'media/All_Recipes/all_recipes_grilled_steak3',   
        provider: 'akamai',
		play: null,
		autoPlay: true,
		autoBuffering: false
	    }, 
	plugins: {  
        akamai: {   
            url: 'flowplayer.rtmp-3.0.1.swf',   
            netConnectionUrl: 'rtmp://cp49900.edgefcs.net/ondemand'
        		},
	controls: {
		fullscreen: false, 	
		scrubber: true,
		mute: true,
		volume: true,
		time: false,
		background: '#F2EDDD url(controlbar_bg.gif)', 
		timeColor: '#52483D', 	 
		durationColor: '#000000', 	
		progressColor: '#ffffff', 	
		progressGradient: 'medium', 	
		bufferColor: '#F2EDDD', 	
		bufferGradient: 'none', 	
		sliderColor: '#ffffff', 	
		sliderGradient: 'none', 	
		buttonColor: '#D7CCC0',	
		buttonOverColor: '#D7CCC0'
			}
    	}
}); 
</script>


emaga00

Posts: 22

Registered:
Dec 30, 2008

» How to set wmode in Flowplayer

Posted: Feb 13, 2009

Reply to: How to set wmode in Flowplayer, from emaga00
Looks like the old adage, "The best helping hand that you will ever receive is the one at the end of your own arm" rings true today as I was able to correct the issue myself. For those of you who might experience the issue as well here is my change.

Old:
$f("fms", "flowplayer-3.0.2.swf", {

New
$f("fms", {src: 'flowplayer-3.0.2.swf', wmode: 'opaque'}, {

jb123

Posts: 31

Registered:
Oct 16, 2009

» » How to set wmode in Flowplayer

Posted: Nov 12, 2009

Reply to: » How to set wmode in Flowplayer, from emaga00
Hello emaga00,

Thank you a million for posting your fix! Worked like a charm for me.

I'm aware of the classic IE select element "bleed through" issue and the workarounds to deal with it (iframes, etc) which was solved in IE 8.0 . This issue was somewhat similar... and was certainly a pesky problem to encounter.

I don't know if the following is the correct way to describe the problem and fix (I found it on the web after I read your post and of the other posts on these forums and some on the web about this problem). I'm posting it for the benefit of other folks who encounter this issue.

With the Flash player's default wmode ("window") the Flash Player takes over all rendering and user interaction in its area. So the browser can't display any HTML in that area. What wmode=" opaque" (or wmode="transparent") does is that it disables this default behavior and kind of integrates the Flash Player area in the browsers usual rendering and layering.

Thanks again,

-JB

jugmug

Posts: 1

Registered:
Aug 1, 2010

awesome!

Posted: Aug 3, 2010

Reply to: » How to set wmode in Flowplayer, from emaga00
awesome, this fixed it! thanks!

Amaris

Posts: 2

Registered:
Dec 2, 2009

Thank you!

Posted: Dec 2, 2009

Reply to: How to set wmode in Flowplayer, from emaga00
I spent the whole day trying to sort this issue out, and finally stumbled on this post after unsuccessfully trying the fixes in a dozen others -- this one worked like a charm. Thanks!

brogga

Posts: 1

Registered:
Nov 29, 2009

Thank you, too!

Posted: Dec 29, 2009

Reply to: How to set wmode in Flowplayer, from emaga00
Fixed my problem as well. The answer was a direct hit! ThX!

haydent

Posts: 18

Registered:
May 4, 2010

» How to set wmode in Flowplayer

Posted: Aug 18, 2011

Reply to: How to set wmode in Flowplayer, from emaga00
just a little note on wmode cpu usage
http://flowplayer.org/forum/2/72823