diff --git a/src/js/tech/html5.js b/src/js/tech/html5.js
index 2abdd65fb..d0f59cdc7 100644
--- a/src/js/tech/html5.js
+++ b/src/js/tech/html5.js
@@ -432,9 +432,12 @@ class Html5 extends Tech {
};
const beginFn = function() {
- this.one('webkitendfullscreen', endFn);
+ if ('webkitPresentationMode' in this.el_ &&
+ this.el_.webkitPresentationMode !== 'picture-in-picture') {
+ this.one('webkitendfullscreen', endFn);
- this.trigger('fullscreenchange', { isFullscreen: true });
+ this.trigger('fullscreenchange', { isFullscreen: true });
+ }
};
this.on('webkitbeginfullscreen', beginFn);