Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Inserting Java (video) script so it stays in the middle column....help (http://forum.bytesforall.com/showthread.php?t=365)

UmpireBugsy Feb 12, 2009 07:51 PM

[SOLVED] Inserting Java (video) script so it stays in the middle column....help
 
Hi,
I use a video script to embed into my site from the server, example below, whenever I put it in a particular page it takes over the whole page, the theme design does not appear and the Video Player only shows and there's no where for me to make adjustments or links. I would imagine it's in the CSS, etc. could someone give me a line or script to adjust this in my site with Atahualpa 3, I want the video player to stay in the middle column:

Thank you ~Bugsy~ p.s. and I don't want to use a "youtube" type plugin. If there's a plugin or widget that keeps the theme's format steady, that would be good too.

SAMPLE OF THE SCRIPT I USE


<script type='text/javascript' src='http://umpireschoolonline.com/ezstream/player/4.2.90/swfobject.js'></script>
<div id='container'>This div will be replaced</div>
<script type='text/javascript'>
var s1 = new SWFObject('http://umpireschoolonline.com/ezstream/player/4.2.90/mediaplayer.swf','ply','800','340','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=http://umpireschoolonline.com/ezstream/playlists_xml/ADVANCED STRIKE ZONE FULL LESSON SMALL.xml&streamer=rtmp://umpireschoolonline.com/vod/media/&skin=http://umpireschoolonline.com/ezstream/skins/metarby 10.swf&playlist=right&width=580&height=340&playlis tsize=425&repeat=list&volume=100&backcolor=#000000 &frontcolor=#0000FF&lightcolor=#FF0000&stretching= none');
s1.write('container');
</script>

Flynn Feb 12, 2009 09:36 PM

Thank you for the donation.


I see a <div id="container"> in that script. The theme has a <div id="container"> as well. And ID's shouldn't be used twice. Please change both occurences of "container" in that script to "container2".

UmpireBugsy Feb 12, 2009 09:47 PM

Totally awesome Flynn, we have "a BINGO!" Thanks so much and I'll keep donating as I go along. Guys and gals like me, need your services and expertise.

sincerely,
Bugsy


All times are GMT -6. The time now is 09:58 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.