Skip to content

Commit

Permalink
change hls directory
Browse files Browse the repository at this point in the history
  • Loading branch information
acalimit committed Jun 10, 2019
1 parent 148c1ab commit 224d008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _h5ai/public/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3890,8 +3890,9 @@ function(e) {
var fileurl = e.absHref;
console.log(fileurl);
var filepath = fileurl.slice(0,fileurl.lastIndexOf('/'));
var filename = fileurl.slice(fileurl.lastIndexOf('/')+1);
var filenotype = fileurl.slice(fileurl.lastIndexOf('/')+1,fileurl.lastIndexOf('.'));
var m3u8 = filepath+'/__'+filenotype+'__/video.m3u8';
var m3u8 = filepath+'/__'+filename+'__/video.m3u8';
var sub = filepath+'/'+filenotype+'.vtt';

function loadXMLDoc() {
Expand Down

0 comments on commit 224d008

Please sign in to comment.