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

fix subtitles in ms edge

This commit is contained in:
Luke Pulverenti 2016-03-09 19:05:29 -05:00
parent 71811cb9e3
commit 4f48507a2d
12 changed files with 231 additions and 25 deletions

View file

@ -512,11 +512,9 @@
function enableNativeTrackSupport(track) {
if (browserInfo.safari) {
if (navigator.userAgent.toLowerCase().indexOf('os x') == -1) {
// Leave it to apple to have different behavior between safari on ios vs osx
return false;
}
if (browserInfo.safari && browserInfo.mobile) {
// Leave it to apple to have different behavior between safari on ios vs osx
return false;
}
if (browserInfo.firefox) {
@ -648,7 +646,7 @@
console.log('expectedId: ' + expectedId + '--currentTrack.Id:' + currentTrack.id);
// IE doesn't support track id
if (browserInfo.msie) {
if (browserInfo.msie || browserInfo.edge) {
if (trackIndex == i) {
mode = 1; // show this track
} else {