Commit 43ee67d
Fix arena video not playing in production
React does not reliably set muted/loop/playsInline DOM attributes via JSX props
on video elements. Set them imperatively via ref before calling play() so the
browser correctly identifies the video as muted and allows autoplay.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1dee4f0 commit 43ee67d
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
148 | 153 | | |
149 | 154 | | |
150 | 155 | | |
151 | | - | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
| |||
0 commit comments