Skip to content

Commit

Permalink
docs: Add more detail to preload tutorial. (#7291)
Browse files Browse the repository at this point in the history
Closes #7290
  • Loading branch information
theodab authored Sep 12, 2024
1 parent e7229fb commit 099b324
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tutorials/preload.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ const preloadManager = await player.preload(
15, 'application/dash+xml');
```

In order to cancel a preload in process, you can call the `destroy` method on
the preloadManager.

If you want to configure how many segments are preloaded by the preloadManager,
set the `streaming.segmentPrefetchLimit` configuration value before calling
`player.preload`.


#### Saving Preloaders

Expand Down

0 comments on commit 099b324

Please sign in to comment.