I have one album & sub-albums devoted to YouTube videos. I use the method using class-textobject, which uses a jpg file and a text file with the YouTube embed code, that are named exactly the same. This works fine if you click on the file name link below an image, but not if you click directly on the image (when using zpBoostrap).
I have been reading the Fancybox documentation that states that fancy box handles YouTube links quite easily. Anyone have ideas if this could be implemented in Fancybox if the correct code is used in the text file?
My current text is very simple, but it gives an error from Fancybox.
<iframe width="560" height="315" src="https://www.youtube.com/embed/r-NpeGdzCmU?controls=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Here is the documentation for video on Fancybox: http://fancyapps.com/fancybox/3/docs/#video
Thanks