How to stream local file with ionic streamingMedia

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

      let options: StreamingVideoOptions = {
        successCallback: () => { console.log('Video played') },
        errorCallback: (e) => { console.log('Error streaming') },
        orientation: 'portrait',
        shouldAutoClose: true,
        controls: true

But that didn’t work. How about I go about this?


Did you ever find a solution??