YouTube iframe embed not starting in HD

后端 未结 8 607
甜味超标
甜味超标 2020-12-08 04:05

I\'m trying to embed an HD YouTube video but no matter what I try, it only ever seems to load the 480p version.

According to YouTube, embedding an HD video is as sim

相关标签:
8条回答
  • 2020-12-08 04:55

    I use &hd=1&vq=hd720 for achieve that. It loads the 720p version even if the player is smaller. I got this information from this source.

    0 讨论(0)
  • 2020-12-08 04:57

    Use this parameter:

    vq=hd1080

    Example:

    <iframe src="https://www.youtube-nocookie.com/embed/SzTdgE04uA8?vq=hd1080" width="853" height="480"></iframe>
    
    0 讨论(0)
提交回复
热议问题