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
1337LPU
post Sep 24 2009, 02:56 AM
Post #2


Senior Member
***

Group: Member
Posts: 30
Joined: Jul 2009
Member No: 738,794



thx for fast answering,

one question about the code, have it to look like:


CODE
<object class="video">
<object width="425" height="344"><param name="video" value="http://www.youtube.com/v/yk0cRY89R3g&hl=de&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yk0cRY89R3g&hl=de&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
</object>


.video { left:50%; margin-left:-300px; position:absolute; top:200px; }




correct?
Reason for edit: Please use [code] tags for codes. -Gabrielle
 

Posts in this topic


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