{"id":13,"date":"2014-03-24T01:11:28","date_gmt":"2014-03-24T01:11:28","guid":{"rendered":"http:\/\/html5box.com\/blog\/?p=13"},"modified":"2014-03-24T08:07:23","modified_gmt":"2014-03-24T08:07:23","slug":"how-to-specify-youtube-video-quality-in-html5-lightbox","status":"publish","type":"post","link":"https:\/\/html5box.com\/blog\/jquery-youtube-lightbox\/how-to-specify-youtube-video-quality-in-html5-lightbox\/","title":{"rendered":"How to specify the YouTube video quality in HTML5 LightBox"},"content":{"rendered":"<p><strong>Question<\/strong>:<\/p>\n<p>How can I display the YouTube video in hd in <a title=\"jQuery YouTube LightBox\" href=\"http:\/\/html5box.com\/html5lightbox\/index.php\" target=\"_blank\">HTML5 LightBox<\/a>?<\/p>\n<p><strong>Answer<\/strong>:<\/p>\n<p>You can add a parameter <strong>vq=hd720<\/strong> to the YouTube URL, for example:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;a href=&quot;http:\/\/www.youtube.com\/embed\/YE7VzlLtp-4?vq=hd720&quot; class=&quot;html5lightbox&quot;\u00a0title=&quot;Big Buck Bunny Copyright Blender Foundation&quot;&gt;YouTube Video&lt;\/a&gt;\r\n<\/pre>\n<p>The demo is as following:<\/p>\n<p><a href=\"http:\/\/www.youtube.com\/embed\/YE7VzlLtp-4?vq=hd720\" class=\"html5lightbox\"\u00a0title=\"Big Buck Bunny Copyright Blender Foundation\">Show YouTube Video in HD in LightBox<\/a><\/p>\n<p>You can also define the video quality as 1080p with parameter <strong>vq=hd1080<\/strong>. <\/p>\n<p>If the specified video quality is not available, YouTube will automatically downgrade to the lower quality.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: How can I display the YouTube video in hd in HTML5 LightBox? Answer: You can add a parameter vq=hd720 to the YouTube URL, for example: &lt;a href=&quot;http:\/\/www.youtube.com\/embed\/YE7VzlLtp-4?vq=hd720&quot; class=&quot;html5lightbox&quot;\u00a0title=&quot;Big Buck Bunny Copyright Blender Foundation&quot;&gt;YouTube Video&lt;\/a&gt; The demo is as following: Show YouTube Video in HD in LightBox You can also define the video quality as &hellip; <a href=\"https:\/\/html5box.com\/blog\/jquery-youtube-lightbox\/how-to-specify-youtube-video-quality-in-html5-lightbox\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to specify the YouTube video quality in HTML5 LightBox<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-jquery-youtube-lightbox"],"_links":{"self":[{"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":28,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}