rx-player
Version:
Canal+ HTML5 Video Player
12 lines • 593 B
TypeScript
/**
* Determines whether the player should perform an explicit initial seek to 0.
*
* In most cases, a media element starts at position 0 and no initial seek is
* needed. The exception is Safari when playing HLS streams: the native player
* may start at the live position instead of 0, so performing an explicit seek
* ensures the player starts from the intended initial position.
*
* @returns {boolean} `true` if an explicit initial seek to 0 should be performed.
*/
export default function shouldPerformInitialSeekToZero(): boolean;
//# sourceMappingURL=should_seek_at_zero.d.ts.map