{"id":180,"date":"2016-03-11T00:52:37","date_gmt":"2016-03-11T00:52:37","guid":{"rendered":"https:\/\/html5box.com\/blog\/?p=180"},"modified":"2016-03-11T01:03:05","modified_gmt":"2016-03-11T01:03:05","slug":"how-to-open-wistia-video-with-html5-lightbox","status":"publish","type":"post","link":"https:\/\/html5box.com\/blog\/jquery-lightbox\/how-to-open-wistia-video-with-html5-lightbox\/","title":{"rendered":"How to open Wistia video with HTML5 Lightbox"},"content":{"rendered":"<p><strong>Product<\/strong>:<\/p>\n<p><a href=\"http:\/\/html5box.com\/html5lightbox\/index.php\" target=\"_blank\">HTML5 Lightbox<\/a><\/p>\n<p><strong>Question<\/strong>:<\/p>\n<p>I moved my videos to Wistia and I am wondering how can I open Wistia video in lightbox.<\/p>\n<p><strong>Answer<\/strong>:<\/p>\n<p>To open Wistia video with HTML5 Lightbox, first, you need to find the iframe video URL of your video. <\/p>\n<p>You can view the document at <a href=\"http:\/\/wistia.com\/doc\/embedding#fallback_iframe_embed\" target=\"_blank\">http:\/\/wistia.com\/doc\/embedding#fallback_iframe_embed<\/a>, get the iframe code then copy the URL from the iframe src value. <\/p>\n<p>Then you can use the following code to open the video in lightbox:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;a href=&quot;\/\/fast.wistia.net\/embed\/iframe\/avk9twrrbn&quot; class=&quot;html5lightbox&quot; data-width=730 data-height=411 &gt;Open Wistia Video in HTML5 Lightbox&lt;\/a&gt;\r\n<\/pre>\n<p>To auto play the video on lightbox popup, you can add parameter autoPlay=true to the URL:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;a href=&quot;\/\/fast.wistia.net\/embed\/iframe\/avk9twrrbn?autoPlay=true&quot; class=&quot;html5lightbox&quot; data-width=730 data-height=411 &gt;Open Wistia Video in HTML5 Lightbox&lt;\/a&gt;\r\n<\/pre>\n<p>Please understand video auto play is not supported on mobile and tablet devices.<\/p>\n<p>The demo is as following:<\/p>\n<p><a href=\"\/\/fast.wistia.net\/embed\/iframe\/avk9twrrbn?autoPlay=true\" class=\"html5lightbox\" data-width=730 data-height=411 >Open Wistia Video in HTML5 Lightbox<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Product: HTML5 Lightbox Question: I moved my videos to Wistia and I am wondering how can I open Wistia video in lightbox. Answer: To open Wistia video with HTML5 Lightbox, first, you need to find the iframe video URL of your video. You can view the document at http:\/\/wistia.com\/doc\/embedding#fallback_iframe_embed, get the iframe code then copy &hellip; <a href=\"https:\/\/html5box.com\/blog\/jquery-lightbox\/how-to-open-wistia-video-with-html5-lightbox\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to open Wistia video with 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":[11,12,7,10],"tags":[],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-html5-lightbox","category-html5-video-lightbox","category-jquery-lightbox","category-jquery-video-lightbox"],"_links":{"self":[{"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts\/180","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=180"}],"version-history":[{"count":9,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":189,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions\/189"}],"wp:attachment":[{"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5box.com\/blog\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}