Youtube video into div overlay |
Youtube video into div overlay |
![]()
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 |
|
|
![]() |
![]()
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. |
|
|
![]() ![]() |