embeding videos in my site

Discussion in 'HTML & Website Design' started by peehed, Mar 10, 2007.

  1. #1
    hello dp's,
    i have had ago at this or a couple of hours now and can not get my head around it.

    i am making a site that will allow you to watch tv programmes/movies just by clicking a link. when you click the link it will bring up a seperate window with only the player inside. say if the film monster house is on youtube how do i make it so just a pop=up comes up and only the player is inside?

    all help welcome.
     
    peehed, Mar 10, 2007 IP
  2. Blame Me

    Blame Me Guest

    Messages:
    162
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2

    Read This
    which is just below this thread for how to open a pop-up.

    And in a new page add something like (which is a YouTube TinTin movie BTW) as the embeded code or just add the code for your media player of choice:

    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/eN55mGAB1qI"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/eN55mGAB1qI" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

    When you have done that link them together - test it and Bob's your uncle.
     
    Blame Me, Mar 10, 2007 IP
  3. peehed

    peehed Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    great helps thanks. BUT how can i make the parent window (popup) to be the same size as the movie??????????????????:D
     
    peehed, Mar 10, 2007 IP
  4. Blame Me

    Blame Me Guest

    Messages:
    162
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Wood for the trees eh!

    You did read this bit then - in the link to the other thread :confused:

    height=500,width=500 is the bit to change - which would be width="425" height="350" for the YouTube movie above.

    I would make it slightly larger though, say 30 pixels all round.
     
    Blame Me, Mar 10, 2007 IP