How to make YouTube videos smaller如何使YouTube影片較小

Posted on April 22, 2008 at 5:23 am張貼於2008年4月22日在上午05時23分

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!最近,一位朋友問我, 如何使YouTube影片較小的為他的MySpace上的個人資料,所以我做了少許調整,並給了他的解決辦法! By default, when you copy the embed code for a video from YouTube, the size of the video is 425 by 355 pixels.默認情況下,當您複製嵌入程式碼為視頻來自YouTube ,大小的視頻是425 ,由355個像素。 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’sa simple trick you can use.因此,如果你正在尋找一種方式來縮小規模YouTube影片,使他們正確地適合於不同的網站,像MySpace ,您的博客,或在何處,那麼下面簡單的伎倆,您可以使用。

First, go ahead and copy the YouTube embed code for the video you want to shrink.第一,繼續和複製YouTube的嵌入程式碼為視頻您想要縮小。

嵌入程式碼

The code will look something like this:該守則將看起來就像這樣:

<MISSING> <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?如果您不能確定是什麼意思,繼續和鴻溝的寬度由高度預設大中型YouTube視頻和你有什麼呢?

425 / 355 = 1.197 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獲得的價值高度,這將是:

300 / 1.197 = 250 300 / 1.197 = 250

So that’s it!這樣的! Your code should look something like this now:您的代碼看起來應該像這樣現在:

<MISSING> <missing>

So this is what my video looked like on my blog before I made the changes to the size: 因此,這是什麼我的影片看上去像對我的博客之前,我作出了更改,以大小:

YouTube的規模較小的視頻

Here’s what the video looked like after I made it smaller by editing the tags:這裡的什麼視頻看上去像後,我曾較小的編輯標籤:

smalle YouTube影片

Much smaller!要少得多! There you go, a very simple way to make YouTube videos smaller.在那裡,您去,一個很簡單的方法,使YouTube影片較小。 You can increase the size of a YouTube video in the same way!您可以增加的大小YouTube影片,在相同的方式! Enjoy!享受!

Technorati Tags: Technorati標記: , , , ,

If you enjoyed this post, make sure you 如果您喜歡這個職位,請務必 subscribe to my RSS feed 訂閱我的RSS饋送 !

» Filed Under »提交下 Computer Tips電腦提示

Related Posts相關文章

5 Responses to “How to make YouTube videos smaller”五月的反應, “如何使YouTube影片較小”

  1. Siddharth siddharth said on : 說:

    This was really easy trick這真是很容易的伎倆 :對
    anyone knwing li’l html can do it任何人knwing li'l的HTML可以做到 :對
    anywayz thx for it anywayz thx它 : d


  2. akishore akishore said on : 說:

    Siddharth, yeah it’sa very simple trick to make YouTube videos smaller! siddharth ,嗯,這很簡單的伎倆,使YouTube影片較小的! Not very technical, so anyone can do it.不是非常技術性的,所以任何人都可以這樣做。 : )


  3. Siddharth siddharth said on : 說:

    : d
    hey bro嘿可租可買計劃
    I think u need to edit the page我認為u需要編輯網頁
    as it is spoiling the whole page因為它是破壞整頁 :對
    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. realmente sencillo y特ahorra espacio , muy buen提示,格拉西亞。


  5. Theremin theremin said on : 說:

    excellent tip!優良的秘訣! thanks for sharing…just what i was looking for!感謝分享…究竟是什麼我一直在尋找!


    Please post your comments/suggestions!請張貼您的意見/建議!