Invalid sandbox flag 'allow-autoplay' in homepage iframe
Author: yavuzdeveloperCreated Jan 4, 2026Updated Jan 4, 2026
LabelsType: Bug
Bug report
Current Behavior
Browser console shows error: Error while parsing the 'sandbox' attribute: 'allow-autoplay' is an invalid sandbox flag. on Formik homepage at website/src/pages/index.tsx line ~130.
Expected behavior
No console errors for invalid sandbox flags.
Reproducible example
Suggested solution(s)
Remove allow-autoplay from iframe sandbox attribute in website/src/pages/index.tsx.
Additional context
allow-autoplay is deprecated in modern browsers.
Your environment
| Software | Version(s) |
|---|---|
| Formik | development |
| React | 18.2.0 |
| TypeScript | 4.4.3 |
| Browser | Chrome |
| npm/Yarn | npm |
| Operating System |
Source: jaredpalmer/formik