fix iPhone no PIP bug (#2533)
This commit is contained in:
parent
fff26351c9
commit
6030b300f6
@ -38,10 +38,6 @@ const support = {
|
|||||||
// Picture-in-picture support
|
// Picture-in-picture support
|
||||||
// Safari & Chrome only currently
|
// Safari & Chrome only currently
|
||||||
pip: (() => {
|
pip: (() => {
|
||||||
if (browser.isIPhone) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Safari
|
// Safari
|
||||||
// https://developer.apple.com/documentation/webkitjs/adding_picture_in_picture_to_your_safari_media_controls
|
// https://developer.apple.com/documentation/webkitjs/adding_picture_in_picture_to_your_safari_media_controls
|
||||||
if (is.function(createElement('video').webkitSetPresentationMode)) {
|
if (is.function(createElement('video').webkitSetPresentationMode)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user