jglazer63
asked on
swliveconnect in flash failes in firefox
I have a function called jsPause in my movie that I call in my javascript:
movie.jspause()
of coures I get a handle to the SWF movie file into "movie". Anyhow this works great in IE but does not work in firefox. Its like jspause() doesn't exist. Below is my object/embed code and you'll note that swliveconnect is set to true. What am I doing wrong?
movie.jspause()
of coures I get a handle to the SWF movie file into "movie". Anyhow this works great in IE but does not work in firefox. Its like jspause() doesn't exist. Below is my object/embed code and you'll note that swliveconnect is set to true. What am I doing wrong?
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640px" height="500px" id="[iNetVideoPlayer1]" name="fVideo">
<param name="movie" value="video3.swf" />
<param name="wmode" value="opaque" />
<param name="quality" value="high" />
<param name="salign" value="lt" />
<param name="swliveconnect" value="true" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="allowfullscreen" value="false" />
<param name="bgcolor" value="#000000" />
<embed src="video3.swf" width="640px" height="500px" name="[iNetVideoPlayer1]" wmode="opaque" quality="high" salign="lt" swliveconnect="true" loop="false" menu="false" allowfullscreen="false" bgcolor="#000000" />
</object>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dang, got excited for a moment. I added allowscriptaccess=always no go. Again, this works in IE but no other browser (firefox/safari/chrome) Here's the current code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640px" height="500px" id="[iNetVideoPlayer1]" name="fVideo">
<param name="movie" value="/icangetit/player/activevideo3.swf" />
<param name="wmode" value="opaque" />
<param name="quality" value="high" />
<param name="salign" value="lt" />
<param name="swliveconnect" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="allowfullscreen" value="false" />
<param name="bgcolor" value="#000000" />
<embed src="/icangetit/player/activevideo3.swf" width="640px" height="500px" name="[iNetVideoPlayer1]" wmode="opaque" quality="high" salign="lt" swliveconnect="true" allowscriptaccess="always" loop="false" menu="false" allowfullscreen="false" bgcolor="#000000" />
</object>
you forgot allowscriptaccess in the params near line 2 to 11
ASKER
What about line 6 above?
ASKER
er line 7
oh sorry. i didnt saw it.
this sounds strange.
do you first try interacting with the flash when its loaded or before?
this sounds strange.
do you first try interacting with the flash when its loaded or before?
ASKER
after its loaded and playing. Again, this works fine in IE. Must have something to do with the <embed> section.
ASKER
Resolved! I had to move away from the <embed> tag for non-IE browsers. using the <object> method (different than that of IE above) corrected the situation.
Thanks for the help!
Thanks for the help!
ASKER
Needed this too!
would give you a way better html code.