Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Autohide for Mobile/Touch Devices #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 3, 2013

  1. Implement Autohide for Mobile/Touch Devices.

    A touch on the videoplayer fades in the player controls, over 'fadeIn' milliseconds.
    When the touch is released, after 'hold' milliseconds, the controls fade out after 'fadeOut' milliseconds,
    unless the player or controls are retouched, in which case the 'hold' countdown resets until next touch release.
    
    I copied the conditional checks for autohide into the event handlers.
    This satisfies the need to not autohide the controls on video end and on video pause, for example.
    Many video players, particularly for entertainment content, keep the controls shown on end and on pause.
    I have not tested fully if having the conditionals here negates the need for the same conditional on line 2262.
    Greg Kass committed May 3, 2013
    Configuration menu
    Copy the full SHA
    b1ec623 View commit details
    Browse the repository at this point in the history