Log In · Register

 
div box/ video player problem...
xxhellhathnofury...
post Jun 18 2006, 03:21 PM
Post #1


Yay, Me!
***

Group: Member
Posts: 71
Joined: Jan 2005
Member No: 87,837



OK, so I want my site to look like [this] but with a video player...but when I put in the code for a video player, I get [this]. Both sites are mine.
Here's the code I'm using...I'll just put the dix box so you don't have to sort through 20 pages of script...
CODE
<div style=" background: #ffffff;
background-image: url();
background-repeat: repeat;
background-position: top left;
background-attachment: fixed;
BORDER-RIGHT: 1px solid #000000;
BORDER-LEFT: 1px solid #000000;
BORDER-top: 1px solid #000000;
BORDER-bottom: 1px solid #000000;
width: 423px; height: 100%;"><FONT style="FONT-WEIGHT: normal; FONT: normal 7px small fonts; LINE-HEIGHT: 15px; LETTER-SPACING: 0pt">
<img src="http://img508.imageshack.us/img508/1236/sum36gc.png"><br><a href="http://www.xanga.com">XANGA</a> +
<a href= "http://www.xanga.com/CLAF"> LOOK & FEEL</a> +
<a href="http://www.xanga.com/signin.aspx">   SIGN IN</a> +
<a href="http://www.xanga.com/private">   PRIVATE</a> +
<a href="http://www.xanga.com/Private/SubscribeTo.aspx?user=ash_x0x0"> ADD ME?</a> +
<a href="http://www.xanga.com/private/subs.aspx"> SUBS</a> +
<a  href="http://www.xanga.com/logout.aspx?mode=logout"> SIGN OUT</a><BR>
<img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060032.jpg" width="241" border="1px black" align=left>
<FONT style="FONT-WEIGHT: italic; FONT: normal 15px georgia; LINE-HEIGHT: 13px; LETTER-SPACING: 0pt; color: #FF97B6"><i>scream</i></font><FONT style="FONT-WEIGHT: bold; FONT: normal 9px small fonts; LINE-HEIGHT: 10px; LETTER-SPACING: 0pt; color: #DD9DFF">: <b>Ashlee</b></font><br>
<FONT style="FONT-WEIGHT: italic; FONT: normal 15px georgia; LINE-HEIGHT: 13px; LETTER-SPACING: 0pt; color: #FF97B6"><i>born</i></font><FONT style="FONT-WEIGHT: bold; FONT: normal 9px small fonts; LINE-HEIGHT: 10px; LETTER-SPACING: 0pt; color: #DD9DFF">: <b>04-06-1989</b></font><br>
<FONT style="FONT-WEIGHT: italic; FONT: normal 15px georgia; LINE-HEIGHT: 13px; LETTER-SPACING: 0pt; color: #FF97B6"><i>sex</i></font><FONT style="FONT-WEIGHT: bold; FONT: normal 9px small fonts; LINE-HEIGHT: 10px; LETTER-SPACING: 0pt; color: #DD9DFF">:<b> female</b></font><br>
<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="106" standby="Loading Microsoft Windows Media Player components..." width="170" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><Br>
<param NAME VALUE>
<param NAME="ShowControls" VALUE="0">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide">
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="False">
</object>
<form name="form"><table align="center">
<select style="WIDTH: 110; height:10" name="playlist" size="1">
<option value="0">gasolina</option>
<option value="1">let u go</option>
<option value="2">the geeks get the girls</option>
</select><Br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.pause(); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.stop(); playstate=2;"></form>
<script language="JavaScript">
<!--
var playstate = 1;
shuffle = 0;  // set to 0 to always play first song in list
              // set to 1 to randomly choose the first song to play
// www.xanga.com/smartypants91780
  // unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]="http://videocodes4u.com/video/file_36504.asx"
songs[1]="http://videocodes4u.com/video/file_47383.asx"
songs[2]="http://videocodes4u.com/video/file_34225.asx"
if (shuffle == 1) {
var randsg = Math.floor(Math.random()*songs.length);
document.darkplayer.FileName = songs[randsg];
document.darkplayer.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.darkplayer.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileName = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//--></script><br><img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060036.jpg" width="48" border="1px black">
<img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060035.jpg" width="48" border="1px black">
<img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060034.jpg" width="48" border="1px black">
<br><BR>
</div>


</CENTER></DIV>


Please help me!
 
 
Start new topic
Replies (1 - 5)
talcumpowder
post Jun 18 2006, 06:32 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



You can't. The videoes you find are all going to be too big. Therefore, it'll stretch your box.
Basically, find smaller videos. Or figure out the exact size for it to fit.
 
xxhellhathnofury...
post Jun 19 2006, 05:22 AM
Post #3


Yay, Me!
***

Group: Member
Posts: 71
Joined: Jan 2005
Member No: 87,837



But if you look, the video plays little.
I had a mini video player on one of my old sites and it worked fine without stretching everything out.
hmmmm....
 
xxhellhathnofury...
post Jun 21 2006, 02:58 PM
Post #4


Yay, Me!
***

Group: Member
Posts: 71
Joined: Jan 2005
Member No: 87,837



Anything?
 
talcumpowder
post Jun 21 2006, 06:35 PM
Post #5


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



There's no reason to post twice. Besides, you can't - it's in the rules. Three days or past page four... And I have a question, why end the div if the height is 100%? Anyways, I fixed it. I had a little free time yesterday.
[ http://www.xanga.com/rhythmsicle ]

CODE
<div style=" background: #ffffff; BORDER-RIGHT: 1px solid #000000;  BORDER-LEFT: 1px solid #000000; BORDER-top: 1px solid #000000; BORDER-bottom: 1px solid #000000; width: 423px; height: 100%;"><FONT style="FONT-WEIGHT: normal; FONT: normal 7px small fonts; LINE-HEIGHT: 15px; LETTER-SPACING: 0pt">
<img src="http://img508.imageshack.us/img508/1236/sum36gc.png"><br><a href="http://www.xanga.com">XANGA</a> +
<a href= "http://www.xanga.com/CLAF"> LOOK & FEEL</a> +
<a href="http://www.xanga.com/signin.aspx">   SIGN IN</a> +
<a href="http://www.xanga.com/private">   PRIVATE</a> +
<a href="http://www.xanga.com/Private/SubscribeTo.aspx?user=ash_x0x0"> ADD ME?</a> +
<a href="http://www.xanga.com/private/subs.aspx"> SUBS</a> +
<a  href="http://www.xanga.com/logout.aspx?mode=logout"> SIGN OUT</a></font><BR>
<img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060032.jpg" width="241" border="1px black" align=left>
<FONT style="FONT-WEIGHT: italic; FONT: normal 15px georgia; LINE-HEIGHT: 13px; LETTER-SPACING: 0pt; color: #FF97B6"><i>scream</i></font><FONT style="FONT-WEIGHT: bold; FONT: normal 9px small fonts; LINE-HEIGHT: 10px; LETTER-SPACING: 0pt; color: #DD9DFF">: <b>Ashlee</b></font><br>
<FONT style="FONT-WEIGHT: italic; FONT: normal 15px georgia; LINE-HEIGHT: 13px; LETTER-SPACING: 0pt; color: #FF97B6"><i>born</i></font><FONT style="FONT-WEIGHT: bold; FONT: normal 9px small fonts; LINE-HEIGHT: 10px; LETTER-SPACING: 0pt; color: #DD9DFF">: <b>04-06-1989</b></font><br>
<FONT style="FONT-WEIGHT: italic; FONT: normal 15px georgia; LINE-HEIGHT: 13px; LETTER-SPACING: 0pt; color: #FF97B6"><i>sex</i></font><FONT style="FONT-WEIGHT: bold; FONT: normal 9px small fonts; LINE-HEIGHT: 10px; LETTER-SPACING: 0pt; color: #DD9DFF">:<b> female</b></font><br>

<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="106" standby="Loading Microsoft Windows Media Player components..." width="170" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"><Br>
<param NAME VALUE>
<param NAME="ShowControls" VALUE="0">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide">
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="False">
</object>
<form name="form">
<select style="WIDTH: 110; height:10" name="playlist" size="1">
<option value="0">gasolina</option>
<option value="1">let u go</option>
<option value="2">the geeks get the girls</option>
</select><Br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.pause(); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.stop(); playstate=2;"></form>
<script language="JavaScript">
<!--
var playstate = 1;
shuffle = 0;  // set to 0 to always play first song in list
              // set to 1 to randomly choose the first song to play
// www.xanga.com/smartypants91780
  // unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]="http://videocodes4u.com/video/file_36504.asx"
songs[1]="http://videocodes4u.com/video/file_47383.asx"
songs[2]="http://videocodes4u.com/video/file_34225.asx"
if (shuffle == 1) {
var randsg = Math.floor(Math.random()*songs.length);
document.darkplayer.FileName = songs[randsg];
document.darkplayer.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.darkplayer.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileName = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//--></script>

<br><img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060036.jpg" width="48" border="1px black">
<img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060035.jpg" width="48" border="1px black">
<img src="http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/june13060034.jpg" width="48" border="1px black">
<br><BR>
</div>

<DIV id=scroll3 style="OVERFLOW: auto;  WIDTH: 423px; background-color: #ffffff; BORDER-RIGHT: 1px solid #000000;  BORDER-LEFT: 1px solid #000000; BORDER-top: 0px solid #000000; BORDER-bottom: 1px solid #000000; HEIGHT:350;  align= center">

<style type="text/css">
table.navigation, table.footer, .mainleft{ display:none; }
body {
scrollbar-arrow-color: white;
scrollbar-track-color: #FAFFAD;
scrollbar-dark-shadow-color: #C7CBFF;
scrollbar-face-color: #FAFFAD;
scrollbar-shadow-color : #C7CBFF;
scrollbar-highlight-color: white;
scrollbar-3d-light-color: white;
background:;

background-image: url(http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/xanga/background.png);
background-position:center right;
background-attachment: fixed;
background-repeat:repeat;}
.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p {
}
div.blogheader, .caption {
/* edits the dates */
font-family:century gothic;
font-size:20px;
text-transform:uppercase;
line-height:22px;
font-weight:normal;
filter: none;
height:0px;
background:;
background-image: url();
color: black;
letter-spacing:-5px;
text-align:right;
width:240px;
border-top:0px solid black;
border-right:0px solid black;
border-left:0px solid black;
}
.blogbody, table.footer, .standard, .leftmodulefontcolor, td, p {
/* edits main text */
font:normal 9px small fonts;
line-height:10px;
text-transform:;
color: #ff9572;
letter-spacing:0px;
text-align:Center;
  }
.blogbody b, .standard b, p b, strong {
/* bold */
font-weight: bold;
color: #DD9DFF;
font-size: 9px;
line-height:10px;
text-transform:;
font-family: small fonts;
letter-spacing: 0px;
}
.blogbody i, .standard i, p i, em {
/* italics */
font-weight: italic;
font-family:georgia;
text-transform: lowercase;
font-size: 15px;
line-height: 13x;
letter-spacing: 0px;
color: #FF97B6;}
}
.blogbody u, .standard u, p u, underline {
/* underlined */
font-weight: 12px century gothic;
color: #DD9DFF;
font-size: 10px;
line-height:10px;
text-transform: uppercase;
text-decoration: underline;
background:;
border-bottom: 1px double solid black;
font-family: Arial;
letter-spacing: 0px;
}
a:link, .footernav.link, a.footernav:link, a.footernav:active {
/* edits all links */
color: black;
font: 7px small fonts;
letter-spacing: -1px;
line-height:15px;
text-transform:uppercase;
text-decoration:;
background-color:;
border: 0px solid #FFCBBA;
background-image:url();
}
a:visited, a.footernav:visited, {
/* edits the links that the user has visited */
color: black;
font: 7px small fonts;
letter-spacing: -1px;
line-height:15px;
text-transform:uppercase;
text-decoration: none;
background-color:;
border: 0px solid #FFCBBA;
background-image:url();
}
a:hover {
/* edits when user mouseovers the links */
color: black;
font: 7px small fonts;
background-color: #C7ECF6;
line-height:15px;
letter-spacing:-1px;
  text-transform:uppercase
text-decoration:none;
border:1px solid #FFA8DF;
background-image:url();
}
input, select, textarea, .textfield, .button {
/* this edits the buttons, dropdowns, etc. */
border:1px solid black;
font:normal 7px small fonts;
background: #FFFFFF;
letter-spacing:0px;
color: #98DAEE;
text-transform:lowercase;

}
table.left { /* this edits the menu module */
border:0px solid black;
width:120px;
background:;
background-image: url();
}
table.blogbody {
/* this edits the other the place where the blog is */
background-repeat: no-repeat;
background-position: bottom left;
background: white;
width:240px;
text-align: justify;
background-image: url();
background-position:bottom right;
background-attachment: fixed;
background-repeat:repeat;
border-top:1px solid black;
border-bottom:1px solid black;
border-right:1px solid black;
border-left:1px solid black;
}
table.left th {
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
background:;
font: 25px century gothic;
text-transform:lowercase;
color: black;
letter-spacing:-4px;
text-align: center;
width:120px;
}
table.left TD {
/* on your menu module, this edits the body part of it */
background:white;
border:1px solid black;
text-align:center;
background-image: url();
}
table.search TD, table.search, table.announcements {
/* border of search bar (if you have it) */
background:;
border:0px solid  #5DFFD7;
}
table.search TD, table.announcements TH {
/* this should be left alone */ /* unless you know what to do */
border:0px solid #9AC0A4;
}
table.blogbody {
/* this edits the other the place where the  blog is */
  border-bottom:1px solid black;
border-right:1px solid black;
border-left:1px solid black;
  background-color:white;
  width:240px;
  text-align: center;
background-image: url();
background-position:bottom right;
background-attachment: fixed;
background-repeat:repeat;
}
table.navigation, table.main {
/* the width of your blog with modules */
width: 240px;
text-align: center;
}
hr {
/* horizontal divider */
border:  0px solid #4F9C70;
}
</style>
 
xxhellhathnofury...
post Jun 22 2006, 03:28 PM
Post #6


Yay, Me!
***

Group: Member
Posts: 71
Joined: Jan 2005
Member No: 87,837



omg thanks...I love you!
sorry for breaking the rules...again withthis post...
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: