sampotts/plyr

Settings menu disappears on click when video is playing

Open

#1,122 创建于 2018年7月25日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)JavaScript (25,318 star) (2,856 fork)batch import
BugHelp WantedReplicated

描述

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.

贡献者指南