Browse Source

Update pannellum.js

this is a workarround for the unsupported fullscreen api on ios (iphones/ipads).
i have added a new config value "workaroundFullscreen" (by default on) which now forces to show the fullscreen button.
on click it maximizes, additionally to the fullscreen api function, the pannellum container class inside the browser.
pull/1132/head
the-ft 1 year ago
committed by GitHub
parent
commit
ff68062558
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js View File

@@ -103,7 +103,7 @@ var defaultConfig = {
showZoomCtrl: true,
autoLoad: false,
showControls: true,
workaroundFullscreen: true,
workaroundFullscreen: true, //set true if fullscreen api is not supported
orientationOnByDefault: false,
hotSpotDebug: false,
backgroundColor: [0, 0, 0],


Loading…
Cancel
Save