Skip to content

Invidious is an alternative front-end to YouTube

Fix typo in player.js

Omar Roth03be79393064
diff --git a/assets/js/player.js b/assets/js/player.js
index be76b674..fc24a35f 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -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';