Skip to content

Commit

Permalink
fix(FEC-9041): 'HTMLVideoElement.webkitDisplayingFullscreen' deprecat…
Browse files Browse the repository at this point in the history
…ion warning

webkitDisplayingFullscreen relevant only for ios devices
  • Loading branch information
Yuvalke authored May 16, 2019
1 parent df1b710 commit 01a7f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fullscreen/fullscreen-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class FullscreenController {
document.mozFullScreenElement ||
document.msFullscreenElement ||
// $FlowFixMe for ios mobile
(!!videoElement && !!videoElement.webkitDisplayingFullscreen)
(this._player.env.os.name === 'iOS' && !!videoElement && !!videoElement.webkitDisplayingFullscreen)
);
}

Expand Down

0 comments on commit 01a7f1f

Please sign in to comment.