JM and player and shadowbox

2 messages Options
Embed this post
Permalink
richard knight

JM and player and shadowbox

Reply Threaded More More options
Print post
Permalink
Hi i have my player working and loading my flv files all ok after a few problems.

Can anyone tell me the code i need for adding flash vars to showbox ?

just cant seem to work it out ? i wanted to add google analtycis using the code below but not sure how to add it in the shadow box html ???





<script type='text/javascript' src='swfobject.js'></script>

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

<script type="text/javascript">
  var so = new SWFObject('http://www.yoursite.com/player.swf',
    'mpl','400','320','9');
  so.addParam('allowscriptaccess','always');
  so.addParam('allowfullscreen','true');
  so.addParam('flashvars','plugins=gapro-1&gapro.accountid=UA-XXXXXXX-X');
  so.write('mediaspace');
</script>
Wizzud

Re: JM and player and shadowbox

Reply Threaded More More options
Print post
Permalink
If you search the forum for flashvars you'll find several examples of how to specify options in the rel attribute (sort the results by date).
Combine literacy with curiosity and a whole world of information opens up to you