Skip to content

Commit 5a7ef40

Browse files
committed
style(core): keep the steering policy's comment share where it was
1 parent 56a1a6f commit 5a7ef40

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎packages/core/src/runtime/mediaSteer.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ const AUDIO_STEER_LIMIT_SECONDS = 0.1;
1515
/** Direction (+1 fast, -1 slow) an element is being steered in; absent when it plays at its authored rate. */
1616
const steering = new WeakMap<HTMLMediaElement, number>();
1717

18-
/**
19-
* Rate or seek for media `offset` s behind (+) or ahead (-); a lag still growing (`settled` false) never seeks.
20-
* `audioOnly` is what the element is for: only its sound is heard (an `<audio>`, or a proxy of any tag).
21-
*/
18+
/** Rate or seek for media `offset` s behind (+) or ahead (-); a lag still growing (`settled` false) never seeks. */
2219
export function steerMedia(
2320
el: HTMLMediaElement,
2421
offset: number,

0 commit comments

Comments
 (0)