Log In · Register

 
Youtube video into div overlay
1337LPU
post 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
 
 
Start new topic
Replies
fixtatik
post Sep 24 2009, 12:12 PM
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).
 

Posts in this topic


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