From 51c05ccc3af417231850b3b1aeaf515e74cb953d Mon Sep 17 00:00:00 2001 From: Mehboob Khan Date: Thu, 13 Aug 2026 14:03:41 +0500 Subject: [PATCH] Don't autoplay the embedded threat-demo voiceover on page load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ThreatDemosSlider always passed autoPlay to ThreatCinematic, so the Mobile SDK page's embedded demo — including its speech-synthesis narration — started 450ms after the page loaded rather than waiting for a visitor to tap the phone. Autoplay is now standalone-only (/threat-demos); the embedded instance stays idle until tapped. Co-Authored-By: Claude Sonnet 5 --- src/demo/threats/ThreatDemosSlider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/threats/ThreatDemosSlider.tsx b/src/demo/threats/ThreatDemosSlider.tsx index 373064c..37db1da 100644 --- a/src/demo/threats/ThreatDemosSlider.tsx +++ b/src/demo/threats/ThreatDemosSlider.tsx @@ -56,7 +56,7 @@ export default function ThreatDemosSlider({ embedded = false }: { embedded?: boo exit={{ x: dir > 0 ? '-100%' : '100%' }} transition={{ type: 'spring', stiffness: 260, damping: 30 }} style={{ position: 'absolute', inset: 0 }}> - +