Skip to content

Commit

Permalink
Update src/js/player.js
Browse files Browse the repository at this point in the history
Co-authored-by: Gary Katsevman <[email protected]>
  • Loading branch information
mister-ben and gkatsev authored Oct 3, 2024
1 parent 413330b commit 8d5fc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,7 @@ class Player extends Component {
} else if (this.isInPictureInPicture() && !document.pictureInPictureElement) {
// Checking the presence of `window.documentPictureInPicture.window` complicates
// tests, checking `document.pictureInPictureElement` also works. It wouldn't
// be null in regular picture in picture.
// be null in regular picture in picture.
// Exit picture in picture mode. This gesture can't trigger pip on the main window.
this.exitPictureInPicture();
} else if (this.isFullscreen()) {
Expand Down

0 comments on commit 8d5fc26

Please sign in to comment.