Is there a way to set default Youtube video quality when displaying video with Fancybox? I tried supplying &hd=1 query-string parameter in video url, as suggested by Youtube, but looks like this gets ignored when Fancybox embeds video… Sometimes it embeds 260p, sometimes 320p, sometimes 480p and I am out of idea how to alter this parameter.
http://www.youtube.com/watch?v=VRT0OhHnOzo&autoplay=1&hd=1
If the URL is entered directly into browser then yotube displays HD version when supplying &hd=1 parameter.
Ok I found the solution with the help of this question.
The code I used and worked with Fancybox 2 is:
The key is the
youtube:part… You can also supplyvq: '1080'this will then force 1080p video quality.