mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix vtt with chrome
This commit is contained in:
parent
f9c56cae69
commit
d39aecd4a5
2 changed files with 17 additions and 7 deletions
|
@ -232,14 +232,7 @@
|
|||
|
||||
self.supportsTextTracks = function () {
|
||||
|
||||
// When seeking with transcoding, there repointing the track element
|
||||
// to a new url (via src) doesn't seem to work.
|
||||
if ($.browser.chrome) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (supportsTextTracks == null) {
|
||||
|
||||
supportsTextTracks = document.createElement('video').textTracks != null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue