Git Product home page Git Product logo

jquery-fullscreen's People

Contributors

gi11es avatar krinkle avatar theopolisme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

gi11es aalekh tgr

jquery-fullscreen's Issues

Return a promise when changing fullscreen states

From comment at 050b6bf#commitcomment-4791918

The more involved version is to have enterFullscreen retrun a promise, and only resolve it successfully if after ~100ms there was no error event. That would also take care of the WebKit Element.ALLOW_KEYBOARD_INPUT mess and failures to go fullscreen when you issue the command at the wrong moment.

Handle "manual" fullscreen event

Most browsers have a "manual" fullscreen mode, which can be initiated with F11, and looks identically to the fullscreen mode initiated via the Fullscreen API, but is completely different on an API level (no event, no document.fullscreenElement, the :fullscreen selector does not match etc). I'm wondering if it made sense for the plugin to detect those and issue a fullscreen event (or maybe a separate fake fullscreen event).

There is no clean way to detect the manual fullscreen, but allegedly listening for resize and then comparing screen width and viewport width does the trick.

Set up automatic linting of code

Since this is now upstream instead of downstream in MediaWiki, please take care of linting on this side.

The easiest way to do this is probably via npm (locally) and Travis (publicly for GitHub).

You're (maybe) violating MultimediaViewer's license

MMV is licensed under the GPLv2. By distributing a derivative work under the MIT license, you are violating section 2, subsection b of the GPL. Please license this library under the GPLv2 license.

Thanks!

EDIT: Changed title - it might not be a violation, but it's certainly a complication, and I'd like to avoid that if possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.