• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Youtube embed HD

Moshe1010

Well-known member
#1
I'm trying to auto-play all the youtube embed videos on my board as HD by default. This code worked for me since day 1:
Code:
<iframe width="700" height="385" src="https://www.youtube.com/embed/{$id}?wmode=opaque&vq=hd720" frameborder="0" allowfullscreen></iframe>
For some reason, it stopped working. Any ideas what may have changed in terms of YouTube or maybe upgrading to 1.3 caused this to stop working?


Thanks.
 

Moshe1010

Well-known member
#5
Try adding "&hd=1" instead of "&vq=hd720".
The cause is that with Youtube's HTML5 player (basically a default now for people with Chrome) the 720p tags don't work anymore and they state that explicitly (you can't force video quality with their html5 player, only with the flash player).