fancyapps/fancyBox — Issue #49: If videos are part of a Fancybox gallery, the next/prev button hotspots cover the video's play button.
Author: RockinAkin
Created: 2011-12-08 20:45:40+00:00
State: open

Hey there,

On my site, i'd like to have a gallery made up of images AND videos.
For images, the gallery function works great - but for videos the NEXT/PREV nav buttons hotspots end up covering the video's play button.

In the past, I fixed this by changing some of fancybox's code to make it so that anytime an iframe is launched, the css of .fancybox-prev and .fancybox-next width attribute is changed to be 35px, instead of the usual 40% - keeping the hotspots narrower and on the sides of the video.

I'm trying to figure out how to alter the code in 2.0.3, but having difficulty... maybe it would be a good feature?