1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add ie11 playback message

This commit is contained in:
Luke Pulverenti 2016-07-31 15:03:38 -04:00
parent c5ccae28b5
commit ea34f6f28d
2 changed files with 8 additions and 1 deletions

View file

@ -997,6 +997,13 @@
self.playVideo = function (item, mediaSource, startPosition, callback) {
if (browserInfo.msie && !browserInfo.mobile) {
if (navigator.userAgent.indexOf('Windows NT 6.1;') != -1 || !mediaSource.RunTimeTicks) {
alert('Playback of this content is not supported in Internet Explorer. For a better experience, please try a modern browser such as Google Chrome, Firefox, Opera, or Microsoft Edge.');
}
}
// TODO: remove dependency on nowplayingbar
requirejs(['videorenderer', 'css!css/nowplayingbar.css', 'css!css/mediaplayer-video.css', 'emby-slider'], function () {