negate autoplay for embedded

This commit is contained in:
Sudev Kiyada 2025-07-29 09:49:21 +05:30
parent 86d84173a4
commit 847eb11c89
Failed to extract signature

View file

@ -141,6 +141,7 @@
onChange,
...restProps,
trackScroll: embedded ? false : restProps.trackScroll, // trackScroll disabled for embedded version
autoplay: embedded ? false : restProps.autoplay, // autoplay disabled for embedded version
});
// if embedded prop is set,