Why is this not working?
<div class="videocontainer" id='mediaspace-55'></div>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js?ver=3.0.1'></script>
<script type='text/javascript'><!--
var flashvars = {
provider: "highwinds",
file: "http://hwcdn.net/XXXXX/fms/pathtofile.smil",
image: "test.jpg"
};
var params = {
allowfullscreen: "true",
allowscriptaccess: "always"
};
var attributes = {
id: "mediaspace-55",
name: "mediaspace-55"
};
swfobject.embedSWF("player.swf", "mpl55", "710", "420", "9.0.0","expressinstall.swf", flashvars, params, attributes);
</script>
I checked that all related files exist.
I spent days working on this simple javascript functionality (I'm not a javascript programmer), and now when I want to complete the project, it stops working .: - (
source
share