what file type(s) are you publishing?
I have this same question. I am creating Adobe Animate files and publishing html5 animations. I've been able to implement the html5 animations in WordPress by using iFrame. I've been able to use looped animations, but it would be nice to not play them until they are seen first on the screen (coming up from the bottom when scrolling) and then possibly have them kick off again if they detect a mouse rollover.
Any help on this would be appreciated.
1 person found this helpful
i don't remember much about wordpress (except it was a pain to work with). but normally, just inserting
will stop a timeline from playing. then adding:
will add the mouseover functionality and play the timeline that contains that code.
Your code is for kicking the animation off again when rolling the mouse over it. What about having it paused or stopped initially, when it's off the screen and then having it play when it becomes visible on the screen? I believe this might have to be some kind of edit to the JS.
attached to any timeline will stop that timeline from playing