Embedding Flash


See also Support:Presentations for related applications.

Embed locally-stored flash file

Files to download (right click, "Save Link As.."):
swfobject.js
player.swf

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FLV Player</title>
</head>
<body>
<p id='preview'></p>
 
<script type='text/javascript' src='http://strathviewconsultants.wikidot.com/local--files/support:flash/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('http://strathviewconsultants.wikidot.com/local--files/support:flash/player.swf','player','450','325','9');
s1.addParam('allowfullscreen','false');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=http://strathviewconsultants.wikidot.com/local--files/music:caledonia/caledonia.flv&backcolor=FDEABC&screencolor=468259&');
s1.write('preview');
</script>
 
</body>
</html>

to autostart and loop is: s1.addParam('flashvars','file=http://strathviewconsultants.wikidot.com/local--files/music:caledonia/caledonia.flv&backcolor=FDEABC&screencolor=468259&autostart=true&repeat=always');


Go to Top

Page tags: javascript video
Site Design and Content by Strathview Consultants copyright 2009-2011