diff --git a/player/custom.js b/player/custom.js index 94b116f..23c4af9 100644 --- a/player/custom.js +++ b/player/custom.js @@ -25,6 +25,7 @@ var Player = function () { playerCaption.src = base_dir + '/' + vtt_files[index] video_player.textTracks[0].mode = 'showing'; video_player.play(); + video_player.focus(); } return { play: _play @@ -117,6 +118,8 @@ document.ready(function (event) { Player.play(e.target.value) }); + TutorialList.load(); + });