I have below video in youtube iframe and forcefully wants to run it on High Quality at first go
https://www.youtube.com/embed/3nmnMtbzzjE
I tried Parameters like hd=1 and vq=hd720 and vq=hd1080 But i think these are outdated or not in function.
Please suggest. Regards
Go to YouTube via your browser. Click the Auto Quality for YouTube icon on the browser extension menu. Select the drop-down menu adjacent to Default Quality and choose your preferred quality for YouTube videos.
For instance, during the unprecedented times of Coronavirus, YouTube decided to reduce the default resolution of videos to 480p globally. This thoughtful step was taken in view of taking some load off of its servers due to the increase in users' watch time.
I just solved this problem for a website I was working on.
I have embedded iframes with youtube videos in them and they, annoyingly, auto-played at a low resolution despite my wanting them to auto-play at 720p. This issue is caused by the actual size of the video, on your page, being detected by YouTube which will trigger an auto-selection of a lower res.
Here's what I did to keep my video embed small, but have it auto play on 720p etc -
This code will basically set the video size to be that of the resolution you want it to auto-play on, which will trick YouTube into setting this for you. Then the CSS dynamically resizes the video to be whatever actual size you need.
And that's all there is to it :)
CODE EXAMPLE:
HTML
<div class="youtube-embed">
<iframe width="1280" height="720" src="https://www.youtube.com/embed/VIDEOID?vq=hd720" frameborder="0" allowfullscreen></iframe>
</div>
CSS
.youtube-embed {
width : 740px;
height : 400px;
}
.youtube-embed iframe {
width : 100%;
height : 100%;
}
Pls see this article: http://www.reddit.com/r/youtube/comments/2fckq3/did_youtube_disable_hdlinking_adding_hd1_at_the/
it seems that you could use vq=1080 to suggest the use of hd video, but the HD will be used only when the video window is large enough
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With