You tube

Discussion in 'Graphics & Multimedia' started by ganpat, Jul 2, 2007.

  1. #1
    hi, i added a couple of youtube videos to my website. They work real well. my question is, Is there any way to resize the video screen? right now, each video takes up half the page. i want to put a number of videos on my page so i'd like to resize them. is that possible?
     
    ganpat, Jul 2, 2007 IP
  2. 8everything

    8everything Peon

    Messages:
    16,350
    Likes Received:
    903
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, it's possible to resize the youtube videos. Can you paste your code here? You can simple add width="XX" height="XX" (XX being the set # of pixels you want those attributes to be)
     
    8everything, Jul 2, 2007 IP
  3. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #3
    not quite sure what youtube uses to embed it's videos but if it's an <object> there is likely options for it inside of the <param> tag set.

    as an example...

    
    <object classid="clsid:F08DF954-8592-11D1-B16A-00C0F0283628" id="Slider1" width="100" height="50">
      <param name="BorderStyle" value="1" />
      <param name="MousePointer" value="0" />
      <param name="Enabled" value="1" />
      <param name="Min" value="0" />
      <param name="Max" value="10" />
    </object>
    
    HTML:
     
    ansi, Jul 2, 2007 IP
  4. e_gencpinar

    e_gencpinar Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/qSKnSTLaYEo&rel=0" ></param><param name="wmode" value="transparent"></param><embed src=" http://www.youtube.com/v/qSKnSTLaYEo&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
     
    e_gencpinar, Jul 3, 2007 IP