Skip to content

Commit

Permalink
Update video.js
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois authored Dec 16, 2024
1 parent ec85e28 commit 0d056b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media-session/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ try {

try {
navigator.mediaSession.setActionHandler('enterpictureinpicture', async function() {
log('> User clicked "Enter Picture-in-Picture" icon.');
log('> User clicked "Enter Picture-in-Picture" icon or we are eligible to automatically enter picture-in-picture.');
await video.requestPictureInPicture();
});
} catch(error) {
Expand Down

0 comments on commit 0d056b1

Please sign in to comment.