iGalerie

Vous n'êtes pas identifié(e).

Annonce

Un message d'erreur qui s'affiche ? Un mot de passe oublié ? L'ajout de fichier qui ne marche pas ?
Pensez d'abord à lire la FAQ, vous y trouverez probablement une solution à votre problème.

#1 27-11-2025 06:35:11

Knut
Membre
Lieu : Norway
Inscription : 27-12-2013
Messages : 91
Site Web

Slideshow for mobile phones

I discovered an issue of minor importance.
If I turn the mobile phone full screen option in admin ON, my iphone 13 pro goes blank screen when I enter slideshow.
If I turn the full screen option OFF in admin, the slide show works fine.

I checked that I have the same issue in 3.0 as well as 3.1.

This can certainly a issue with my phone. The simple solution for me is to turn this option off.
I have tested the issue in 2 servers for igalerie 3.0 and on one for 3.1. No error messages.

Would be great to now if someone has the same issue or a solution.

Hors ligne

#2 27-11-2025 12:36:27

David
Développeur d'iGalerie
Inscription : 12-05-2006
Messages : 4 462
Site Web

Re : Slideshow for mobile phones

Try by replacing the lines 1867-1891 (version 3.1 beta 1) of the js/diaporama.js file:

/**
 * Affichage en mode plein écran.
 *
 * @return void
 */
function _fullScreen()
{
   if (_options.fullScreen)
   {
      document.body.requestFullscreen();
   }
}

/**
 * Sortie du mode plein écran.
 *
 * @return void
 */
function _fullScreenExit()
{
   if (document.fullscreenElement)
   {
      document.exitFullscreen();
   }
}

with this lines:

/**
 * Affichage en mode plein écran.
 *
 * @return void
 */
function _fullScreen()
{
   if (_options.fullScreen)
   {
      if (document.body.requestFullscreen)
      {
         document.body.requestFullscreen();
      }
      else if (document.body.webkitRequestFullscreen)
      {
         document.body.webkitRequestFullscreen();
      }
   }
}

/**
 * Sortie du mode plein écran.
 *
 * @return void
 */
function _fullScreenExit()
{
   if (document.fullscreenElement)
   {
      document.exitFullscreen();
   }
   else if (document.webkitFullscreenElement)
   {
      document.webkitExitFullscreen();
   }
}

Hors ligne

#3 30-11-2025 08:17:18

Knut
Membre
Lieu : Norway
Inscription : 27-12-2013
Messages : 91
Site Web

Re : Slideshow for mobile phones

I still get the blank screen on my iphone 13 pro. Ihave tested Android phone, here slideshow works. Looks to be a iphone issue.
My test album v 3.1 Beta is here:
https://varteig-historielag.no/igalerie … um#content
I have the fullscreen modus for mobile phone turned on in this album.

Dernière modification par Knut (30-11-2025 13:58:47)

Hors ligne

Pied de page des forums

Propulsé par FluxBB