Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent-Bouisset committed Sep 25, 2024
1 parent 7afa9dd commit b5621df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main_thread/init/utils/initial_seek_and_play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ export default function performInitialSeekAndPlay(
(obs, stopListening) => {
const initiallySeekedTime =
typeof startTime === "number" ? startTime : startTime();
if (initiallySeekedTime === undefined && obs.readyState < 2 /* HAVE_CURRENT_DATA */) {
if (
initiallySeekedTime === undefined &&
obs.readyState < 2 /* HAVE_CURRENT_DATA */
) {
/**
* On browser, such as Safari, the HTMLMediaElement.duration
* and HTMLMediaElement.buffered may not be initialized at readyState 1, leading
Expand Down

0 comments on commit b5621df

Please sign in to comment.