Youtube - How to force 480p video quality in embed link / <iframe>

tomexx picture tomexx · Apr 19, 2012 · Viewed 108.9k times · Source

How to force 480p video quality for iframed Youtube videos?

Sample code:

<iframe width="560" height="315" src="http://www.youtube.com/embed/FqRgAs0SOpU" frameborder="0" allowfullscreen></iframe>

Answer

Kai Noack picture Kai Noack · Sep 24, 2012

Append the following parameter to the Youtube-URL:

144p: &vq=tiny
240p: &vq=small
360p: &vq=medium
480p: &vq=large
720p: &vq=hd720

For instance:

src="http://www.youtube.com/watch?v=oDOXeO9fAg4"

becomes:

src="http://www.youtube.com/watch?v=oDOXeO9fAg4&vq=large"