Closed aadharjain1 closed 1 day ago
What you are looking for is the preload API https://shaka-player-demo.appspot.com/docs/api/tutorial-preload.html :)
Thank you for the prompt response @avelad, but want to understand if we can store this segment as well in IndexedDB for future offline playback using preload API? Basically what I'm looking for is a way to combine both preload and offline APIs.
Right now that's not possible and no one on the maintenance team will be working on this in the future. Sorry...
Have you read the Tutorials? Yes
Have you read the FAQ and checked for duplicate open issues? Yes
If the question is related to FairPlay, have you read the tutorial?
Not related
What version of Shaka Player are you using? 4.11.0
What browser and OS are you using? Android Webview & Chrome
Please ask your question I have an infinite video feed (m3u8 videos) and I start loading a video once it comes into focus. But I would like to know if there's a way to preload just the 1st segment of the next video and store it in IndexedDB for offline playback. Once user comes on this video, then it should start download from 2nd segment onwards.
I tried to achieve this by using shaka.offline.Storage class, but it was downloading the entire video. So, I made some changes in the shaka player code and was able to download only 1st segment. But is there a way to load the video from 2nd segment onwards using player.load()?