danriegsecker / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

current swfobject fires an error, 'SWFObject not defined' #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i was using swfobject v1.5 everything was ok, i decided to upgrade to
current version 2.1
on Firefox 3, IE7 , a JavaScript error raises 'SWFObject not defined'
i tried to figure out what was the problem, but unfortunately with no success,

my code has no errors, for sure

<p id="sflvplayer23" style="border: 0pt none ; margin: 0pt; padding: 0pt;
width: 744px; height: 96px;" onclick="/sc/23" align="center">
</p>
<script type="text/javascript" src="/js/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject('/js/player.swf','player','744','96','9');
s1.addParam('allowfullscreen','false');
s1.addParam('wmode','transparent');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=/files/YouTube_UEFA_Champions_League_Theme_2006_20
07.flv&controlbar=none&autostart=true&displayclick=none&icons=false&repeat=alway
s&stretching=fill&frontcolor=EEEEEE&lightcolor=AAAAAA&screencolor=EEEEEE&stretch
ing=exactfit&mute=true');
s1.write('sflvplayer23');
</script>

when i was out of option, i decided to downgrade to version 1.5 again, now,
everything seems working fine

regards

Original issue reported on code.google.com by nuai...@gmail.com on 3 Jan 2009 at 1:19

GoogleCodeExporter commented 9 years ago
Please do read the documentation

Original comment by bobbyvandersluis on 4 Jan 2009 at 12:37