Skip to content

Commit dadbcc8

Browse files
committed
Don't show interact hint for idlescreen
1 parent 1e779a8 commit dadbcc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/metastream-app/src/components/lobby/VideoPlayer.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ class _VideoPlayer extends PureComponent<PrivateProps, IState> {
286286
}
287287

288288
private onMediaTimeout = () => {
289+
// Ignore idlescreen timeout
290+
if (this.props.playback === PlaybackState.Idle) return
291+
289292
const hasInteracted = Boolean(localStorage.getItem(StorageKey.HasInteracted))
290293
if (hasInteracted) return
291294

0 commit comments

Comments
 (0)