Hi,
Lottie Animation by Scroll Trigger seams not to work properly.
Would be great to get some help, idea or link to tutorial to get it work?
Approach
Have create a code-block in Bricks Builder:
Als described under: https://community.motion.page/issues-pnamy7ej/post/can-t-edit-lottie-file-ee53dUJ5cGKiF5x
<script src="https://unpkg.com/.../player.../dist/dotlottie-player.mjs" type="module"></script>
<dotlottie-player id="rttm" src="https://lottie.host/7401522f-2d8b-4049.../CE9lFrNlEH.json"></dotlottie-player>
Try and Error
Tried also with "autoplay" +/- "loop" +/- "controls" +/- 'id="rttm"'. All works fine in browser - WITHOUT motion.page.
BUT with motion.page I can't figure out the way to contect to
scrollTrigger (Lock to scrollbar), or
ClickTrigger or
HoverTrigger.
Have also tried with
id="#rttm" then
only with "dotlottie-player" alone
and with both Animation Selector.
Nothing works.
Not in Chrome, Brave, Safari, Opera, Firefox or Edge Browser.
Tried also with
url-path as in the example/printScreen
and also as local-json-file.
Without motion.page animation works fine - BUT
All works fine when animation is set to auto-play from dotlottie-player without Animation-part from motion.page.
BUT with motion.page I can NOT made it work anyhow.
Not with help of https://community.motion.page/start-here/post/lesson-9-lottie-WNCjMhMP4MGAscn
and not as described under https://motion.page/learn/advanced-features/
I do NOT know what I have to do different
Would be great to get some help or link to a tutorial with lottie-file and ScrollTrigger.
Question
Does anybody has the same problem or found a way to solve this issue/problem/bug?