Embeded Flash Element won't play in page
georgiebon - August 26, 2006 - 02:16
I am trying to play a small flash movie in a page. I put this code in the page, but nothing displays. I have made sure that all paths are correct, but still nothing.
Is there something else that I should be doing to get Flash to work in Drupal?
Any help would be appreciated.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="215" height="75" id="DanceFile" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="DanceFile.swf" />
<param name="loop" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="DanceFile.swf" loop="false" quality="high" bgcolor="#ffffff" width="215" height="75" name="DanceFile" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
URL for SWF in HTML is relative to the url of the hTML
Please paste a URL in for where this file is trying to be loaded by HTML.
THanks
SWFObject
This is the old way. New security updates for IE will prevent your flash content from automatically playing.
Go to http://blog.deconcept.com/swfobject/ and use the SWFObject javascript library. Works like a charm.
Starman
No line break (or text
No line break (or text wrap)
If you use Notepad, usually it wont line break
Otherwise delete the large space within `object' and `embed' which when you pasted it might have break
If not, it might be that your web browser does not have plugins for Flash, and it doesnt show the `Get the plugins' icon