Announcement

  •  » Beta testing
  •  » [Fotorama 2.6.h] no "full" screen mode

#1 2014-03-21 11:12:45

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13175

[Fotorama 2.6.h] no "full" screen mode

Hi JanisV,

I was previously using Fotorama 2.6.d (you can see it on http://piwigo.us/beta/trunk/ and the slideshow is in "full" screen mode, ie I don't see anything else than the slideshow.

With version 2.6.h, it became a "full window" instead :-/

Was it done "on purpose"? is it possible to configure it?

2.6.d
http://piwigo.org/forum/showimage.php?pid=150607&filename=fotorama-2.6.d.jpg

2.6.h
http://piwigo.org/forum/showimage.php?pid=150607&filename=fotorama-2.6.h.jpg


Uploaded Images


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 

#2 2014-03-21 14:40:15

JanisV
Member
2013-09-25
85

Re: [Fotorama 2.6.h] no "full" screen mode

Can't reproduse with 2.6.h. Please, check that option 'Allows fullscreen' in setting set to 'native'.

Offline

 

#3 2014-03-21 14:46:51

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13175

Re: [Fotorama 2.6.h] no "full" screen mode

Yes, it is set to "native" :-/

Now I have updated Fotorama to 2.6.h on piwigo.us/beta/trunk, and it doesn't go full screen : http://piwigo.us/beta/trunk/picture.php … slideshow=


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 

#4 2014-04-01 08:17:53

JanisV
Member
2013-09-25
85

Re: [Fotorama 2.6.h] no "full" screen mode

I see deprecated code in you slideshow page:
 

Code:

console.log('active frame', fotorama.activeFrame);

That is strange... Can you reinstall plugin? Compare file in your installation with http://piwigo.org/svn/extensions/Fotora … eshow.tpl.

Offline

 

#5 2014-04-01 09:48:00

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13175

Re: [Fotorama 2.6.h] no "full" screen mode

Actually I was still on 2.6.d on piwigo.us/beta/trunk, now I'm on 2.6.h.

I think I have an idea: in the Fotorama configuration, if you check "Only fullscreen mode" then it never goes fullscreen, only "fullwindow".


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 

#6 2014-04-30 21:21:30

marfig
Member
2013-12-12
38

Re: [Fotorama 2.6.h] no "full" screen mode

Hello,
this is really great plugin, but I have same issue with piwig 2.6.2, no full screen, only full window, do you have suggestion how to correct it, to get automatically full screen?

Thanks
Regards
Martin

Offline

 

#7 2014-08-16 11:49:06

Matthieu Moy
Guest

Re: [Fotorama 2.6.h] no "full" screen mode

Same issue here: to get the actual full-screen, I need to uncheck the "full screen only" checkbox.

My guess is that this is due to the following restriction: https://github.com/kayahr/jquery-fullscreen-plugin

"This only works when the code was triggered by a user interaction (For example a onclick event on a button). Browsers don't allow entering fullscreen mode without user interaction."

So the full-screen should be triggered by the click on the button that starts the slideshow.

I did a toy webpage doing this:

http://www-verimag.imag.fr/~moy/tmp/test-fs.html

One big drawback of my approach is that the images of the slideshow are preloaded even if the user doesn't click the slideshow button. I tried using display:none, but didn't succeed (the fotorama object was not available when I wanted it, but there's probably a solution for someone more knowledgable than me in JavaScript ...).

It would be great to have this in the fotorama plugin.

I'm copy-pasting the source of my proof of concept here:

Code:

<html>
  <head><title>Example full-screen slideshow</title>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- 33 KB -->
  <link  href="http://fotorama.s3.amazonaws.com/4.6.0/fotorama.css" rel="stylesheet"> <!-- 3 KB -->
    <script src="http://fotorama.s3.amazonaws.com/4.6.0/fotorama.js"></script> <!-- 16 KB -->
  </head>
  <body>
    <a id="fs" href="#">Click here to start a full-screen slideshow</a>
    <div id="fotorama" class="fotorama" data-allowfullscreen="native" data-autoplay="true" data-auto="false" style="visibility: hidden;">
      <img src="http://s.fotorama.io/1.jpg" />
      <img src="http://s.fotorama.io/2.jpg" />
    </div>
    <p>blabla</p>
    <script>
$(function() {
    $('#fotorama').hide();
});
$("#fs").one('click', function () {
$('#fotorama').show();
    var $fotoramaDiv = $('#fotorama').fotorama();
    $fotoramaDiv.css({'visibility' : 'visible'});
    
    var fotorama = $fotoramaDiv.data('fotorama');
    fotorama.requestFullScreen();
});
$('#fotorama').on('fotorama:fullscreenexit', function () {
    $('#fotorama').hide();
});
    </script>
  </body>
</html>
 

#8 2014-10-08 11:33:16

Tred
Member
2014-10-08
2

Re: [Fotorama 2.6.h] no "full" screen mode

Dear All

after some more searching I found this thread which will answer my question regarding a full screen slide show that I want to use via Chromecast on my tv set.

So my question here is? what is the status of this fix?

greetings

Tred

Offline

 

#9 2014-11-07 08:40:39

marfig
Member
2013-12-12
38

Re: [Fotorama 2.6.h] no "full" screen mode

Hello,
is there any change to get Fotorama again to full screen automatically?

Thank you
Best Regards
Martin

Offline

 

#10 2016-04-26 16:41:29

BMS
Member
2015-12-24
1

Re: [Fotorama 2.6.h] no "full" screen mode

Dear All

I am using Piwigo 2.8 and still Fotorama won't open automatically full 'screen' only.
The last entry in this trhead was more than a year ago.
Is any work being done to solve this issue or should I learn to live with it?

Regards, Ben

Offline

 

#11 2016-06-07 22:54:54

PierreMR
Member
Lyon
2016-06-07
11

Re: [Fotorama 2.6.h] no "full" screen mode

Hello

I have the same issue with Fotorama !

BMS wrote:

Dear All

I am using Piwigo 2.8 and still Fotorama won't open automatically full 'screen' only.
The last entry in this trhead was more than a year ago.
Is any work being done to solve this issue or should I learn to live with it?

Regards, Ben

Offline

 
  •  » Beta testing
  •  » [Fotorama 2.6.h] no "full" screen mode

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact