From 908c7752eaa630b3509d4c35e68f14073a75f9a1 Mon Sep 17 00:00:00 2001 From: Ivan Schurawel Date: Mon, 12 Sep 2022 13:38:59 -0400 Subject: [PATCH] chore: enable native firefox subtitles --- CONTRIBUTORS.md | 1 + src/plugins/htmlVideoPlayer/plugin.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4b98912962..355f088525 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -52,6 +52,7 @@ - [MinecraftPlaye](https://github.com/MinecraftPlaye) - [Matthew Jones](https://github.com/matthew-jones-uk) - [taku0](https://github.com/taku0) + - [is343](https://github.com/is343) # Emby Contributors diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index c4204010ab..d3a893e1dd 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1150,8 +1150,7 @@ function tryRemoveElement(elem) { return true; } - // This is unfortunate, but we're unable to remove the textTrack that gets added via addTextTrack - if (browser.firefox || browser.web0s) { + if (browser.web0s) { return true; }