mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 21:54:49 -04:00
Remove firefox bugfix hack now that it is fixed
This commit is contained in:
parent
5374666ac9
commit
f352085f62
@ -234,9 +234,8 @@ const Video = forwardRef<{ seek: (value: number) => void }, VideoProps>(function
|
|||||||
onLoadedMetadata={() => {
|
onLoadedMetadata={() => {
|
||||||
if (source.startPosition) setProgress(source.startPosition / 1000);
|
if (source.startPosition) setProgress(source.startPosition / 1000);
|
||||||
}}
|
}}
|
||||||
// BUG: If this is enabled, switching to fullscreen or opening a menu make a play/pause loop until firefox crash.
|
onPlay={() => onPlayPause?.call(null, true)}
|
||||||
// onPlay={() => onPlayPause?.call(null, true)}
|
onPause={() => onPlayPause?.call(null, false)}
|
||||||
// onPause={() => onPlayPause?.call(null, false)}
|
|
||||||
onEnded={onEnd}
|
onEnded={onEnd}
|
||||||
{...css({ width: "100%", height: "100%", objectFit: "contain" })}
|
{...css({ width: "100%", height: "100%", objectFit: "contain" })}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user