mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix typo in player.js
This commit is contained in:
parent
37d88d5ff7
commit
03be793930
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ player.vttThumbnails({
|
|||
});
|
||||
|
||||
// Enable annotations
|
||||
if (video_data.params.listen && video_data.params.annotations) {
|
||||
if (!video_data.params.listen && video_data.params.annotations) {
|
||||
var video_container = document.getElementById('player');
|
||||
let xhr = new XMLHttpRequest();
|
||||
xhr.responseType = 'text';
|
||||
|
|
Loading…
Reference in a new issue