Fullscreen action

Having trouble getting started? The viewer isn't loading properly?
ciancastillo
Posts: 5
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

Fullscreen action

Postby ciancastillo » Tue Jan 16, 2018 11:26 pm

Is there any example how the action Fullscreen is used? Thank you!

WebSupport
Posts: 1061
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: Fullscreen action

Postby WebSupport » Wed Jan 17, 2018 12:09 am

Hi,

I think we're already communicating with you via email :)
Please remove this line as it doesn't make sense in your current setup I think:

Code: Select all

 _imageRotator.fullScreenOnClick = true;


Please confirm when this is done.

ciancastillo
Posts: 5
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

Re: Fullscreen action

Postby ciancastillo » Wed Jan 17, 2018 12:41 am

Removed:

Code: Select all

_imageRotator.fullScreenOnClick = true;


My only issue now is when I clicked on fullscreen and closed it, wr360PlayerId_fs is still displaying rather than display="none"

WebSupport
Posts: 1061
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: Fullscreen action

Postby WebSupport » Wed Jan 17, 2018 12:57 am

What browser are you using for your testing as the full-screen function doesn't work at all in Chrome due to the fancybox exception in /plugins/fancybox-master/dist/jquery.fancybox.js ?

ciancastillo
Posts: 5
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

Re: Fullscreen action

Postby ciancastillo » Wed Jan 17, 2018 1:12 am

Chrome.
The full-screen is working, select the orange variation (not updating the default at the moment) and view it in full-screen.

WebSupport
Posts: 1061
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: Fullscreen action

Postby WebSupport » Wed Jan 17, 2018 2:22 pm

Hi! I think there're two options to resolve the full-screen issue if you have to use fancybox:

1. Go to your fancybox script in the following link and disable this line around line 4480 (comment out with // in front of the line):

Code: Select all

/skin/frontend/suz../default/plugins/fancybox-master/dist/jquery.fancybox.js

Code: Select all

instance.trigger('onFullscreenChange', FullScreen.isFullscreen() );


2. Change viewer snippet to use full browser window for the full-screen function (instead of the usual full monitor screen). To do this, add this line before runImageRotator:

Code: Select all

 _imageRotator.settings.inBrowserFullScreen = true;


Please see what works best.


Return to “Setup Issues and Embedding”

cron