The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML for a background swf video
Hindsyfella
post May 23 2012, 02:17 PM
Post #1





Group: Members
Posts: 1
Joined: 23-May 12
Member No.: 17,155



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?

This post has been edited by Hindsyfella: May 23 2012, 02:38 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 06:13 AM