diff --git a/src/js/support.js b/src/js/support.js index d4e226df..9b0306dd 100644 --- a/src/js/support.js +++ b/src/js/support.js @@ -38,6 +38,13 @@ const support = { // Picture-in-picture support // Safari & Chrome only currently pip: (() => { + // While iPhone's support picture-in-picture for some apps, seemingly Safari isn't one of them + // It will throw the following error when trying to enter picture-in-picture + // `NotSupportedError: The Picture-in-Picture mode is not supported.` + if (browser.isIPhone) { + return false; + } + // Safari // https://developer.apple.com/documentation/webkitjs/adding_picture_in_picture_to_your_safari_media_controls if (is.function(createElement('video').webkitSetPresentationMode)) {