How to make YouTube videos smaller

Posted on April 22, 2008 at 5:23 am

Recently a friend asked me how to make YouTube videos smaller for his MySpace profile, so I did a little bit of tweaking and gave him a solution! By default, when you copy the embed code for a video from YouTube, the size of the video is 425 by 355 pixels. That’s great, but it would be nice if they let you choose your own custom size!

So if you are looking for a way to shrink the size of YouTube videos so that they fit correctly on different sites like MySpace, your blog, or wherever, then here’s a simple trick you can use.

First, go ahead and copy the YouTube embed code for the video you want to shrink.

embed code

The code will look something like this:

<MISSING>

You will notice the "WIDTH" and "HEIGHT" values in the code. There are actually two sets of these tags, one set in the beginning and one set at the end.

Go ahead and paste this code into a text editor of your choice, Notepad was fine for me. Without changing anything else, go ahead and change the values of the width and height to the desired value. Remember that when changing the values for width and height to make sure you maintain the aspect ratio.

If you’re not sure what that means, go ahead and divide the width by the height of a default sized YouTube video and what do you get?

425 / 355 = 1.197

That is the ratio of the width to the height. So if you want the video to be 300 pixels wide, then just divide that by 1.197 to get the value of the height, which would be:

300 / 1.197 = 250

So that’s it! Your code should look something like this now:

<MISSING>

So this is what my video looked like on my blog before I made the changes to the size:

youtube smaller video

Here’s what the video looked like after I made it smaller by editing the tags:

smalle youtube videos

Much smaller! There you go, a very simple way to make YouTube videos smaller. You can increase the size of a YouTube video in the same way! Enjoy!

Technorati Tags: , , , ,

Enjoyed this post? Subscribe to Online Tech Tips via RSS Feed or via Email and receive free daily productivity tips.

» Filed Under Computer Tips

Add to Delicious Save this page Mixx it Stir it up on Mixx
Reddit Add to Reddit StumbleUpon Stumble this page  

Related Posts

8 Responses to “How to make YouTube videos smaller”

  1. Siddharth said on :

    This was really easy trick :P
    anyone knwing li’l html can do it :P
    anywayz thx for it :D


  2. akishore said on :

    Siddharth, yeah it’s a very simple trick to make YouTube videos smaller! Not very technical, so anyone can do it. :)


  3. Siddharth said on :

    :D
    hey bro
    I think u need to edit the page
    as it is spoiling the whole page :P
    you can use the textarea form field for doing it :)


  4. Revista Luna Negra said on :

    Realmente sencillo y te ahorra espacio, muy buen tip, gracias.


  5. Theremin said on :

    excellent tip! thanks for sharing…just what i was looking for!


  6. Lilian said on :

    Muy bueno el truco, gracias me ha servido de mucho.=)


  7. jesus said on :

    muy interesante esta informacion , trataba hace tiempo de colocar un video de youtube en la columna lateral de mi blog, al parecer fue muy sencillo , gracias por la ayuda …


    Pingbacks
  1. Best of Tech Blogs: April 2008 Says:

    [...] How to make YouTube videos smaller [Online-Tech-Tips by Aseem Kishore] [...]

Please post your comments/suggestions!