edwardlarson
03-10-2009, 04:53 AM
Hey everybody
i'm trying to make an FLV video Stop or Pause as soon as a pop up is displayed. i'm pretty sure i'd add another
s1.addParam(
to the below video code but i'm not entirely sure. the other thing i'm thinking is i'd add another &autostop=example on the flashvars (autostop not being the variable of course)
any thoughts?
<script type='text/javascript' src='/player/swfobject.js'></script>
<div id='preview'></div>
<script type='text/javascript'>
var s1 = new SWFObject('/player/player.swf','ply','640','480','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','file=http://videovideo.flv&controlbar=none&autostart=true');
s1.write('preview');
</script>
i'm trying to make an FLV video Stop or Pause as soon as a pop up is displayed. i'm pretty sure i'd add another
s1.addParam(
to the below video code but i'm not entirely sure. the other thing i'm thinking is i'd add another &autostop=example on the flashvars (autostop not being the variable of course)
any thoughts?
<script type='text/javascript' src='/player/swfobject.js'></script>
<div id='preview'></div>
<script type='text/javascript'>
var s1 = new SWFObject('/player/player.swf','ply','640','480','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','file=http://videovideo.flv&controlbar=none&autostart=true');
s1.write('preview');
</script>