I know there is this &hd=1
code to start a YouTube video in 720p. Is there a code or trick to add at the end of a YouTube video URL to start in 1080p?
相关问题
- UrlEncodeUnicode and browser navigation errors
- Improve converting string to readable urls
- Jasper: error opening input stream from url
- Unable to Full Screen Youtube Video Inside Custom
- what's wrong in my URL validation Regex using
相关文章
- How to dynamically add wmode=transparent to Youtub
- C# HttpClient.SendAsync always returns 404 but URL
- Prevent $anchorScroll from modifying the url
- How does a browser handle cookie with no path and
- Base64URL decoding via JavaScript?
- Detect or Approximate Bluetooth Latency on Android
- YouTube Video in R markdown
- How to prevent YouTube js calls from slowing down
Seems to be working again :)
Using an example:
before:
http://www.youtube.com/watch?v=ecsCrOEYl7c
after:
http://www.youtube.com/watch_popup?v=ecsCrOEYl7c&vq=hd1080
note both:
watch_popup
&vq=hd1080
Other possible values can be found here:
You can also change the start time of the player by appending this (to 1 minute and 22 seconds in this example):
&t=1m22s
Some documentation can be found here:
It's not possible to set the quality to 1080p only with an URL. Some years ago it was possible by adding
&fmt=37
but it doesn't work anymore.However, if you can use JavaScript the YouTube API will allow you to select the quality.
From documentation:
AS2 player will be retired in October 2012 and the embed codes on YouTube website load AS3 player by default. To show hd1080 you need to use JavaScript API. The functions are described here.