Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[MediaControls][iOS] Embedded YouTube does not show a 'paused' button…
… state after starting https://bugs.webkit.org/show_bug.cgi?id=128755 Reviewed by Eric Carlson. Don't rely on "canPlay()", instead, take the information directly from the event itself. I.e., when handling the 'play' event, switch mode to playing, and vice versa for the 'pause' event. * Modules/mediacontrols/mediaControlsApple.js: (Controller.prototype.handlePlay): (Controller.prototype.handlePause): (Controller.prototype.updatePlaying): (Controller.prototype.setPlaying): Canonical link: https://commits.webkit.org/146862@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters