mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
0d929caedb
This adds a supplementary new method, unloadAndSavePreload. This method unloads the current asset but creates a PreloadManager object containing the loaded manifest, so the asset can be loaded again more quickly. This can be used for situations where an asset must be unloaded only temporarily; say, you wish to detach the player from the current media element and re-attach it to another, then begin playing the same asset. --------- Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>