sampotts/plyr

Settings menu disappears on click when video is playing

Open

#1122 opened on Jul 25, 2018

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (25,318 stars) (2,856 forks)batch import
BugHelp WantedReplicated

Description

Expected behaviour

When clicking on the settings to change quality, or play speed, the menu disappears, clicking on the menu again, shows the specific settings menu, as I clicked before. The issue doesn't reproduce when video is paused, clicking on the settings button and then on Quality, will show me the quality options without the menu disappearing.

Actual behaviour

The menu shouldn't disappear, even when video is playing.

Environment

Tested on the Plyr website: https://plyr.io/

  • Browser: Chrome
  • Version: Version 67.0.3396.99 (Official Build) (64-bit)
  • Operating System: Windows 10
  • Version: 1803

Steps to reproduce

  • When video is playing, click on the settings button.
  • Next, click on one of the options, say Quality.
  • The menu should disappear now, clicking on the settings button again, should display the quality options.
  • Doing the same process when the video is paused, the menu would not disappear on click.

Contributor guide