Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Can't have 2 videos on same web page!

1 reply [Last post]

I put the code in my WordPress and it works very good. But when I went to add a 2nd day and a video 2nd video the 1st one don't show up. I just can't get them both to be on at the same time in the same web page. Going down the page there should be a 2nd Video but it just will not show it.

Any one know what could be wrong?

My code looks like this:

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

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

<script type='text/javascript'>
var so = new SWFObject('../video/player.swf','ply','320','240','9','#ffffff');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','../video/uploads/2009/08/When I got to work Sunday 082309.flv');
so.addVariable('controlbar','over');
so.addVariable('image','../video/uploads/2009/08/When I got to work Sunday 082309.jpg');
so.addVariable('link','../blog');
so.addVariable('displayclick','link');
so.addVariable('screencolor','FFFFFF');
so.addVariable('autostart','false');
so.write('mediaspace');
</script>"

I only change the video and image link for a 2nd one but it don't work. It's one or the other not both.

-Raymond Day

O I just seen it on a post here.

It's fixed. I just had to change this:

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

To this:

"<div id='player01'>This text will be replaced</div>"

and at the end same like this:

" so.write('player01');"

The others you know would just get player02 and player 03 like that.

-Raymond Day