Link to home
Start Free TrialLog in
Avatar of Dbast
Dbast

asked on

Script in table not working in Firefox

I have embedded two small media players on the page. They sit inside a table (see attached code). Works fine in IE, and the header rows (<TH>) display fine in Firefox, but the players themselves won't display in Firefox.

Is this fixable?
<TABLE border="0" align="right">
<TH align="center">Select your Audio Clip from the Playlist</TH>
<tr><td>
<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script> <div id="player"></div> <script type="text/javascript">var so = new SWFObject('http://www.heartland.org/NewYork08/audio/mediaplayer.swf','mpl','400','134','8');so.addParam('allowscriptaccess','always');so.addParam('allowfullscreen','true');so.addVariable('height','134');so.addVariable('width','400');so.addVariable('file','http://www.heartland.org/NewYork08/audio/playlist.xml');so.addVariable('backcolor','0xFFFFFF');so.addVariable('frontcolor','0x000000');so.addVariable('lightcolor','0x68A8C6');so.addVariable('screencolor','0xDC491F');so.addVariable('displaywidth','140');so.addVariable('autoscroll','false');so.addVariable('searchbar','false');so.write('player');</script>
</td></tr>
<tr height="50"><td>&nbsp;</td></tr>
<TH align="center">Select your Video Clip from the Playlist below</TH>
<tr><td align="center">
<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script> <div id="player2"></div> <script type="text/javascript">var so = new SWFObject('http://www.heartland.org/NewYork08/video/mediaplayer.swf','mpl','320','500','8');so.addParam('allowscriptaccess','always');so.addParam('allowfullscreen','true');so.addVariable('height','500');so.addVariable('width','320');so.addVariable('file','http://www.heartland.org/NewYork08/video/playlist.xml');so.addVariable('backcolor','0xFFFFFF');so.addVariable('frontcolor','0x000000');so.addVariable('lightcolor','0xDC491F');so.addVariable('screencolor','0x0082BF');so.addVariable('displayheight','240');so.addVariable('autoscroll','true');so.write('player2');</script>
</td></tr>
</TABLE>

Open in new window

Avatar of Jeremy Yip Ngow
Jeremy Yip Ngow

Are you sure you have Javascript Enabled in Firefox
Tools--> Options-->Content--> Enable Javascript
Check to make sure this is enabled.
Avatar of Dbast

ASKER

It is enabled.

But that was a great possibility, as I hadn't checked! Thanks. More advice?
ASKER CERTIFIED SOLUTION
Avatar of Jeremy Yip Ngow
Jeremy Yip Ngow

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dbast

ASKER

I was not able to find at deadman's link a way to download the Adobe Flash Player for Firefox running on Windows XP. Help?
did you click on the "agree and install button" on the website?
Avatar of Dbast

ASKER

Deadman - Embarrassed to say that I was initially trying to download the Flash Player for Firefox by accessing the Adobe web site using IE. Not so clever, but your final comment set me straight. Thanks for your patience and help with this!