fix iPhone no PIP bug (#2533)

This commit is contained in:
happyjake 2022-11-17 08:57:04 +08:00 committed by GitHub
parent fff26351c9
commit 6030b300f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,10 +38,6 @@ const support = {
// Picture-in-picture support
// Safari & Chrome only currently
pip: (() => {
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)) {