Revert "[Video] Ensure loop doesn't stop" (#5209)
parent
10cdc436b8
commit
51259e7c42
|
@ -110,11 +110,7 @@ function InnerWrapper({embed}: Props) {
|
||||||
if (status === 'error') {
|
if (status === 'error') {
|
||||||
setError(playerError ?? new Error('Unknown player error'))
|
setError(playerError ?? new Error('Unknown player error'))
|
||||||
}
|
}
|
||||||
if (
|
if (status === 'readyToPlay' && oldStatus !== 'readyToPlay') {
|
||||||
status === 'readyToPlay' &&
|
|
||||||
oldStatus !== 'readyToPlay' &&
|
|
||||||
oldStatus !== 'waitingToPlayAtSpecifiedRate'
|
|
||||||
) {
|
|
||||||
player.play()
|
player.play()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue