Log In · Register

 
How Put A YouTube Video On My Div Layout?, help me please
Michelotto
post Jul 29 2008, 02:19 PM
Post #1


Senior Member
***

Group: Member
Posts: 31
Joined: Jul 2008
Member No: 666,361



i want put a youtube video on my div layout whit coords

whats the code??

help me please thumbsup.gif

link myspace: www.myspace.com/crazy_michael91
 
 
Start new topic
Replies (1 - 7)
nikx618
post Jul 29 2008, 02:21 PM
Post #2


asdfghjkl;
******

Group: Official Designer
Posts: 1,410
Joined: Jul 2008
Member No: 665,416



why dont you just put the video in some content box,
like instead of putting text in the box, put the vid.
but make the box, the same size as the vid, or bigger.
 
Mickey
post Jul 29 2008, 02:31 PM
Post #3


Treasure Pleasure
********

Group: Head Staff
Posts: 11,749
Joined: Oct 2005
Member No: 281,127



You can't position things using coordinations. You can only position links on an image using coordinations. If you'd like to place a video on your DIV layout, just simply create a DIV scrollbox and place your video codes there, like so:

CODE
<div style="position:absolute; top:500px; left:50%; margin-left:-500px;">PUT VIDEO CODES HERE</div>

Just replace the bolded text with your video codes and play around with the top and margin-left pixels to get your DIV where you want it to be.
 
Michelotto
post Jul 29 2008, 05:09 PM
Post #4


Senior Member
***

Group: Member
Posts: 31
Joined: Jul 2008
Member No: 666,361



Anarchy it doesnt work =[
 
Mickey
post Jul 29 2008, 05:30 PM
Post #5


Treasure Pleasure
********

Group: Head Staff
Posts: 11,749
Joined: Oct 2005
Member No: 281,127



Maybe it's because you have this code:

CODE
td td embed, td td object{position:absolute; left:0px; top:0px; width:1px; height:1px;}

Try removing that.
 
Michelotto
post Jul 29 2008, 05:45 PM
Post #6


Senior Member
***

Group: Member
Posts: 31
Joined: Jul 2008
Member No: 666,361



hey my friend !
i erased it
but doesnt work
help me please
 
Mickey
post Jul 29 2008, 06:09 PM
Post #7


Treasure Pleasure
********

Group: Head Staff
Posts: 11,749
Joined: Oct 2005
Member No: 281,127



That's because you have two of those codes and you only removed one. Look for it again then remove it.

EDIT:

I guess this can be closed and moved now. Looks like the OP's problem has been solved by the looks of that YouTube video on his page.
 
manny-the-dino
post Aug 15 2008, 01:10 AM
Post #8


Senior Member
********

Group: Administrator
Posts: 16,448
Joined: Jan 2007
Member No: 498,468



Topic Closed & Moved

Michelotto, in the future, please tell us if your problem has been solved because we don't know. Thank you.
 

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