I am using ionic streamingMedia to stream a video from a mp4 link I generated from a downloader. But the link expires after a certain time and instead of using the link I created a folder called “videos” in my assets folder and I want to use this instead. I tried doing
june_19(){
let options: StreamingVideoOptions = {
successCallback: () => { console.log('Video played') },
errorCallback: (e) => { console.log('Error streaming') },
orientation: 'portrait',
shouldAutoClose: true,
controls: true
};
this.streamingMedia.playVideo('../../assets/videos/june_19.mp4');
}
But that didn’t work. How about I go about this?