https://bugzilla.wikimedia.org/show_bug.cgi?id=57297

       Web browser: ---
            Bug ID: 57297
           Summary: Add JS component for fullscreen handling
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

MediaViewer has some fullscreen-handling code which would have a better place
in core. Something very simple, just to abstract away browser prefixes -
something like $.fullscreen.isSupported() /  $.fullscreen.isActive() /
$.fullscreen.request() / $.fullscreen.cancel() / $.fullscreen.toggle(), plus
triggering the fullscreenchange event if the browser does not support it, plus
maybe adding a top-level class.

Docs:
https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to