troubleshooting Question

Script in table not working in Firefox

Avatar of Dbast
Dbast asked on
Web Browsers
6 Comments1 Solution388 ViewsLast Modified:
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>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros