|
|
@ -151,6 +151,7 @@ player.vttThumbnails({
|
|
|
|
|
|
|
|
|
|
|
|
// Enable annotations
|
|
|
|
// Enable annotations
|
|
|
|
if (!video_data.params.listen && video_data.params.annotations) {
|
|
|
|
if (!video_data.params.listen && video_data.params.annotations) {
|
|
|
|
|
|
|
|
window.addEventListener('load', function (e) {
|
|
|
|
var video_container = document.getElementById('player');
|
|
|
|
var video_container = document.getElementById('player');
|
|
|
|
let xhr = new XMLHttpRequest();
|
|
|
|
let xhr = new XMLHttpRequest();
|
|
|
|
xhr.responseType = 'text';
|
|
|
|
xhr.responseType = 'text';
|
|
|
@ -190,6 +191,7 @@ if (!video_data.params.listen && video_data.params.annotations) {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
xhr.send();
|
|
|
|
xhr.send();
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function increase_volume(delta) {
|
|
|
|
function increase_volume(delta) {
|
|
|
|