Log in

View Full Version : Resolved Of Flash Player and Transparency



zai
04-06-2009, 07:49 PM
hai ..

i have problem with flv player
i added one flash video through---DW cs3
insert --> media--->insert video. option :)

i want to display one image above that flash player through DIV tag...

how can i transparent that flv video...:confused:

Thanks In advance :)
Zai

zai
04-06-2009, 07:50 PM
actual code.........



<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','294','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="294" height="240" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="294" height="240" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>

Nile
04-06-2009, 07:54 PM
Search through the forums - many people have asked this question.

You can either take a look here. "How to give flash a transparent bg. (http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14201&sliceId=2)."

If not, try adding this to your object tag:


<param name="wmode" value="transparent">

And add this to your embed tag:


wmode="transparent"

As explained in this post here (http://www.dynamicdrive.com/forums/showthread.php?t=14022).



Does that help you?

zai
04-06-2009, 08:07 PM
hai nile..thanks for u r reply.....

i tried that few hrs back..but its not working.....



<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','294','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="294" height="240" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="wmode" value="transparent" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="294" height="240" name="FLVPlayer" salign="LT" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>

Nile
04-06-2009, 08:10 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

Also, when you say you've tried it a few hours ago, do you mean you saw that results in the dreamweaver renderer? Or you've tested it in a browser?

zai
04-06-2009, 08:31 PM
hey wonder.....


http://freewebs.com/czaisankar/zai.html

its working......

zai
04-08-2009, 06:35 PM
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','210','height','173','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','wmode','transparent','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script>

it works...when i add 'wmode','transparent' in the above section..in addition to the above replies.:D

Thanks Nile...And DD team...:)

Nile
04-08-2009, 06:37 PM
Glad to help you! Your welcome!

It seems your topic is solved... Please set the status to resolved.. To do this:
Go to your first post ->
Edit your first post ->
Click "Go Advanced" ->
Then in the drop down next to the title, select "RESOLVED"