vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
531 stars 158 forks source link

Full Screen control won't work when the hosted link used on an Iframe #146

Open abidCharlotte49er opened 7 years ago

abidCharlotte49er commented 7 years ago

Max,

Today we have noticed Full screen control won't work when the site is served in the iFrame. The work around we are currently using is to check if the link is used in iframe then set isSupported to false in 21511

        if(inIframe())
            isSupported = false; 

        if(isSupported == false)
            toFakeFullScreen();

Example

<iframe src="http://unitegallery.net/index.php?page=default" width="1000" height="900">
</iframe>