Added support for custom arguments and custom output patch

This commit is contained in:
Isaac Grynsztein
2020-02-27 03:27:57 -05:00
parent fc3691336d
commit b79d801c0f
11 changed files with 253 additions and 121 deletions

View File

@@ -76,7 +76,7 @@ export class PlayerComponent implements OnInit {
for (let i = 0; i < this.fileNames.length; i++) {
const fileName = this.fileNames[i];
const baseLocation = (this.type === 'audio') ? this.audioFolderPath : this.videoFolderPath;
const fullLocation = this.baseStreamPath + baseLocation + fileName; // + (this.type === 'audio' ? '.mp3' : '.mp4');
const fullLocation = this.baseStreamPath + baseLocation + encodeURI(fileName); // + (this.type === 'audio' ? '.mp3' : '.mp4');
const mediaObject: IMedia = {
title: fileName,
src: fullLocation,