Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ HTML for a background swf video

Posted by: Hindsyfella May 23 2012, 02:17 PM

Hi, i've written this script for a background swf video:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SWF test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("Insurgency Splash", "11.2.202.235");
</script>
</head>
<body>
<div style="width:100%;height:100%;position:relative;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
width="100%" height="100%" >
<param name="movie" value="Insurgency Splash.swf">
<param name="quality" value="high">
<param name="play" value="true">
<param name="LOOP" value="true">
<embed src="Insurgency Splash.swf" width="100%" height="100%" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash">
</embed>
</object>
</div>
</body>
</html>

It's working fine in chrome but not in Firefox or IE. I can't find a tutorial or anything to help show me how to get a background video that conforms to all screen resolutions. Can anybody help or does anybody know of a tutorial?

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)