mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-08 10:47:44 +02:00
[eric] fix: stop the onboarding renderer segfault on windows by not preloading the video metadata that triggers it
This commit is contained in:
@@ -448,6 +448,7 @@ const StepCardBody: React.FC<StepCardProps> = ({
|
||||
component="video"
|
||||
src={step.videoSrc}
|
||||
autoPlay={typeof navigator === 'undefined' || !navigator.userAgent.includes('Windows')}
|
||||
preload={typeof navigator !== 'undefined' && navigator.userAgent.includes('Windows') ? 'none' : 'metadata'}
|
||||
muted
|
||||
loop
|
||||
playsInline
|
||||
|
||||
Reference in New Issue
Block a user