1. Home
  2. Docs
  3. Dtox
  4. Video popup

Video popup

Venobox is nice tool that offers a nice way to add zooming functionality for images/videos. The basic structure is given below

1. HTML code

[code language=”html”]
<a data-vbtype="video" class="boxbox" href="video-link-here">Demo</a>
[/code]

class boxbox for popup and href video link is to popup the video.

2. Initialize the venobox in jQuery

[code language=”javascript”]
// venobox</pre>
<pre>$(document).ready(function(){
$(‘.venobox’).venobox();
});</pre>
<pre>[/code]

know more about Venobox setting in this link – http://veno.es/venobox/

Was this article helpful to you? Yes 1 No

How can we help?