1. 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

Discussion in 'XenForo Questions and Support' started by Moshe1010, Mar 26, 2014.

  1. Moshe1010

    Moshe1010 Well-Known Member

    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:
    <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?

  2. Mike

    Mike XenForo Developer Staff Member

  3. Moshe1010

    Moshe1010 Well-Known Member

    It looks like it's Chrome specific (works with Safari and Firefox)
  4. zagorskey

    zagorskey Active Member

    Try adding "&hd=1" instead of "&vq=hd720".
  5. Moshe1010

    Moshe1010 Well-Known Member

    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).

Share This Page