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
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
Almost. You don't need the first object tag. Put the class in the one that has the height and width: <object class="video" width="425" height="344">
Also, the .video { } needs to go between your <style></style> tags (if you haven't already done that). |
|
|
![]() ![]() |