Fix typo in player.js

This commit is contained in:
Omar Roth 2019-05-09 08:36:36 -05:00
parent 37d88d5ff7
commit 03be793930
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
1 changed files with 1 additions and 1 deletions

View File

@ -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';