Youtube video into div overlay |
Youtube video into div overlay |
Sep 23 2009, 02:09 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 30 Joined: Jul 2009 Member No: 738,794 |
hey guys,
i need your help. i want import an youtube video into a div container. so i know that the object tags have to be remove. but my problem is if i create a div i cant move the container everywhere, it strech my whole profile... ;/ so maybe someone can create me a div mit any youtubevideo? thx a lot! LPU |
|
|
|
![]() |
Sep 27 2009, 04:44 PM
Post
#2
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Place this at the bottom of your About Me codes:
CODE <style> .video { left:50%; margin-left:-300px; position:absolute; top:200px; } </style> <div class="video"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="344" width="425"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> <param name="movie" value="http://www.youtube.com/v/yk0cRY89R3g&hl=de&fs=1&" /> <param name="wmode" value="transparent" /> <embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.youtube.com/v/yk0cRY89R3g&hl=de&fs=1&" height="344" width="425" wmode="transparent" /> </object> </div> Then position the video. That should do the trick. |
|
|
|
1337LPU Youtube video into div overlay Sep 23 2009, 02:09 PM
fixtatik Just add a class to the object tag, then define it... Sep 23 2009, 02:30 PM
1337LPU thx for fast answering,
one question about the co... Sep 24 2009, 02:56 AM
fixtatik Almost. You don't need the first object tag. P... Sep 24 2009, 12:12 PM
Mike Topic reopened. 1337LPU, can you post all the code... Sep 25 2009, 03:32 AM
1337LPU the page is www.myspace.com/xcclothing
the code a... Sep 27 2009, 04:23 PM
fixtatik Is there a new problem? I don't see the video ... Sep 27 2009, 04:41 PM
1337LPU thx mike it work! you are awesome THXXX!... Sep 28 2009, 01:56 AM
elletricity Topic closed and moved. PM me if you still want it... Sep 28 2009, 02:04 AM![]() ![]() |