Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
dumdum7 authored Dec 31, 2024
1 parent 6e07a0c commit 05b11ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -499,14 +499,14 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
};
}, [getPlayer]);

// delay before second play event after a play event to adjust for video player issues
const DELAY_FOR_SECOND_PLAY_MS = 1000;
const playingTimer = useRef<number>();

useEffect(() => {
const player = getPlayer();
if (!player) return;

// delay before second play event after a play event to adjust for video player issues
const DELAY_FOR_SECOND_PLAY_MS = 1000;
const playingTimer = useRef<number>();

function playing(this: VideoJsPlayer) {
if (scene.interactive && interactiveReady.current) {
interactiveClient.play(this.currentTime());
Expand Down

0 comments on commit 05b11ed

Please sign in to comment.