Reply To: fancybox pro with mp4 videos and autoplay

Your Account / Forums / Easy FancyBox Pro / fancybox pro with mp4 videos and autoplay / Reply To: fancybox pro with mp4 videos and autoplay

April 16, 2018 at 11:11 pm #12021

I forgot: it is needed to manually add the (new) option {keepRatio:true} to the iframe class metadata.

This means as per the example from Pharéo above, it would look like this:


<a class="button fancybox-iframe {keepRatio:true,width:480,height:360}" href="//ulr.of/my.mp4">watch my movie</a>

In a future version, this will be added as a checkbox option 🙂