Skip to content

Commit

Permalink
docs: Add liveTracker options to options guide (#7097)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Mar 9, 2021
1 parent 8d0c601 commit 6336e57
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/guides/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,22 @@ Allows the player to use the new live ui that includes:
Without this option the progress bar will be hidden and in its place will be text that indicates `LIVE` playback. There will be no progress control
and you will not be able click the text to seek to the live edge. `liveui` will default to `true` in a future version!

### `liveTracker.trackingThreshold`

> Type: `number`
> Default: `30`
An option for the liveTracker component of the player that controls when the liveui should be shown. By default if a stream has less than 30s on the seekBar then we do not show the new liveui even with the liveui option set.


### `liveTracker.liveTolerance`

> Type: `number`
> Default: `15`
An option for the liveTracker component of the player that controls how far from the seekable end should be considered live playback. By default anything further than 15s from the live seekable edge is considered behind live and everything else is considered live. Any user interaction to seek backwards will ignore this value as a user would expect.


### `nativeControlsForTouch`

> Type: `boolean`
Expand Down

0 comments on commit 6336e57

Please sign in to comment.