Skip to content

Commit

Permalink
Fixed to get directory from Player
Browse files Browse the repository at this point in the history
  • Loading branch information
railsjack committed Jul 20, 2019
1 parent 1f827cd commit 7cde755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ document.ready = function (callback) {

var Player = function () {
var _play = function (index) {
var base_dir = _get_dir();
var base_dir = TutorialList.get_dir();
video_player.src = base_dir + '/' + mp4_files[index]
playerCaption.src = base_dir + '/' + vtt_files[index]
video_player.textTracks[0].mode = 'showing';
Expand Down

0 comments on commit 7cde755

Please sign in to comment.