How can I do this? Really need help.

Discussion in 'HTML & Website Design' started by ted1986, Jun 25, 2009.

  1. #1
    I have a video that is native resolution is 500 x 500 and I want to fit it in a 150 x 150 sidebar of my website.

    I would like to give users the options to click full screen or some other button to be able to float the video in a 500 x 500 pop up window at its native resolution.

    Any suggestion? Or any software can I use? I heard javascript can do this but how?

    Thank in advance. :confused:
     
    ted1986, Jun 25, 2009 IP
  2. instant87

    instant87 Active Member

    Messages:
    626
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #2
    For example, on a YouTube video embed, you can change the width and height. So for your video, just replace whats in the object tags.

    <object width="425" height="350">
       <param name="movie" value="http://www.youtube.com/v/8K_NQe57C-k"></param>
       <param name="wmode" value="transparent"></param>
       <embed src="http://www.youtube.com/v/8K_NQe57C-k" type="application/x-shockwave-flash" 
          wmode="transparent" width="425" height="350"></embed>
    </object>
    HTML:
     
    instant87, Jun 25, 2009 IP
  3. ted1986

    ted1986 Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi, thanks for your help. I tried that before but I find that only the Border get smaller but the video didn't get smaller. So I can not see the whole video.
     
    ted1986, Jun 29, 2009 IP
  4. ahsan_ma07

    ahsan_ma07 Peon

    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ahsan_ma07, Jun 29, 2009 IP
  5. cveks

    cveks Member

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #5
    yes use overlay mixer.
     
    cveks, Jun 29, 2009 IP
  6. ted1986

    ted1986 Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you guys, I will have a try. Anyway thank you, I now make two pages and use Moyea flash video mx pro to set redirect the link to the original size video when you click the small video.
     
    ted1986, Jun 30, 2009 IP