Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Im sure this is something very basic

1 reply [Last post]

What am I missing here? The code works fine with the Setup Wizard but when I setup an html page and view it the code doesnt appear to work. Any help would be appreciated.

http://ammosmith.com/videos/lee/videotest.html

Source of the page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script type='text/javascript' src='http://ammosmith.com/videos/lee/swfobject.js'></script>
<title> Your Title Here </title>
<meta name="Generator" content="Alleycode HTML Editor">
<meta name="Description" content="Your description here...">
<meta name="Keywords" content="Your keywords here...">
</head>

<body>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>
var so = new SWFObject('http://ammosmith.com/videos/lee/player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://ammosmith.com/videos/lee/lee.f4v');
so.addVariable('bufferlength','5');
so.write('mediaspace');
</script>
</body>
</html>