Hi!
I am trying to embed a flash video in my html, and my problem is:

The damn controls wont show!

This is my code hope someone could tell me were i went wrong.

<object width="352" height="288" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"> 
	<param name="salign" value="lt"> 
	<param name="quality" value="high"> 
	<param name="scale" value="noscale"> 
	<param name="wmode" value="transparent"> 
	<param name="movie" value="video/pelletsproduksjon.swf"> 
	<embed width="352" height="288" flashvars="&streamName=FLV_Video_URL&autoPlay=fals        e&autoRewind=true&skinName=video/ClearOverPlaySeekMute.swf" 
quality="high" scale="noscale" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="video/pelletsproduksjon.swf" wmode="transparent"> </embed></object>

The video is called"pelletsproduksjon"
The skin is called "ClearOverPlaySeekMute.swf"

and i feel that it should be said that i have absolutely no idea what im doing when it comes to flash, and im new at html..

Member Avatar for rajarajan2017

try to embed the flash with swfObject2.2

Hi Hwestman:

2 things...
1st. put your swf files in the same folder as the html script to simplify the scenario for test (you can move them back later)
2nd. try my code below:

<object  id="player" width="352" height="288" align="middle" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="movie" value="pelletsproduksjon.swf" />
	<param name="salign" value="lt" />
	<param name="quality" value="high" />
	<param name="scale" value="noscale" /> 
	<param name="wmode" value="transparent" />
	<param name="bgcolor" value="transparent" />
	<embed width="352" height="288" src="ClearOverPlaySeekMute.swf" flashvars="&streamName=FLV_Video_URL&autoPlay=false&autoRewind=true&skinName=ClearOverPlaySeekMute.swf" quality="high" bgcolor="transparent" id="player" name="player" align="middle" salign="LT" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

The code above includes allowScriptAccess="sameDomain" as this is critical.

Good Luck and please remember to close this ticket once resolved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.