Use native video controls in Lightbox popup

Product:

HTML5 Lightbox

Question:

When opening an mp4 video in Lightbox popup, is there a way to use the native video controls for each web browser?

Answer:

Yes. You can add a data tag data-nativehtml5controls="true" to the html5lightbox link, for example:

<a href="https://html5box.com/html5lightbox/images/Big_Buck_Bunny_1.m4v" data-webm="https://html5box.com/html5lightbox/images/Big_Buck_Bunny_1.webm" class="html5lightbox" data-nativehtml5controls="true" >HTML5 Video Lightbox</a></div>

A demo is as following:

HTML5 Video Lightbox