diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 6ae333bdee..9a343ddd15 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -16,9 +16,10 @@ - [grafixeyehero](https://github.com/grafixeyehero) - [Drago96](https://github.com/drago-96) - [ViXXoR](https://github.com/ViXXoR) - - [nkmerrill] (https://github.com/nkmerrill) - - [TtheCreator] (https://github.com/Tthecreator) + - [nkmerrill](https://github.com/nkmerrill) + - [TtheCreator](https://github.com/Tthecreator) - [RazeLighter777](https://github.com/RazeLighter777) + - [anthonylavado](https://github.com/anthonylavado) # Emby Contributors diff --git a/src/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js b/src/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js index 10d32bc9bd..19b075b622 100644 --- a/src/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js +++ b/src/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js @@ -1443,10 +1443,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa var list = []; var video = document.createElement('video'); - //if (video.webkitSupportsPresentationMode && video.webkitSupportsPresentationMode('picture-in-picture') && typeof video.webkitSetPresentationMode === "function") { - // list.push('PictureInPicture'); - //} - if (document.pictureInPictureEnabled) { + if (video.webkitSupportsPresentationMode && typeof video.webkitSetPresentationMode === "function" || document.pictureInPictureEnabled) { list.push('PictureInPicture'); } else if (browser.ipad) { @@ -1849,4 +1846,4 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa } return HtmlVideoPlayer; -}); \ No newline at end of file +});