SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to make a youtube video smaller

    Hiya,

    I would like to upload videos on my website - from youtube. Is there any way I can make the video smaller than the big youtube box? It takes all the room on the page- Even better, was thinking of having a small image and make it big when somene clicks on it....

    Any advice would be very appreciated.

    Thanks in advance.

    Celine

  2. #2
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,746
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)
    I think you'll have to consult Youtube for that one.

    Somewhere on their site there should be optional embed codes that you can use.




    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  3. #3
    SitePoint Enthusiast guioconnor's Avatar
    Join Date
    Oct 2007
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Celine,

    The HTML code to embed a youtube video is similar to this one:

    HTML Code:
    <object width="425" height="355"><param name="movie" value="http://..."></param><param name="wmode" value="transparent"></param><embed src="http://...." type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
    If you change 425 and 355 both in the embed element and the object element you'll be able to display the video in a different size.

    Keep in mind, though, that the video is the same, so the quality might suffer a little and the bandwidth required to download it is the same, so it won't be faster for the viewer.
    Guilherme Zühlke O'Connor
    www.z-oc.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •