Add video previews

This commit is contained in:
Omar Roth
2019-05-02 14:20:19 -05:00
parent 1a9360ca75
commit 6d92775ab5
7 changed files with 126 additions and 4 deletions

View File

@@ -217,6 +217,10 @@ if (bpb) {
player.httpSourceSelector();
<% end %>
player.vttThumbnails({
src: 'api/v1/storyboards/<%= video.id %>?height=90'
});
<% if !params.listen && params.annotations %>
var video_container = document.getElementById('player');
let xhr = new XMLHttpRequest();