I’m using the Lottiefiles Wordpress plugin to add players to post content, but the theme I’m using employs AJAX to load content dynamically when you navigate from one post / page to the next, rather than actually firing a new page load event. As a result, when the new content is loaded in, the players don’t auto-run as they’re set to play on page load (at least I presume that’s the issue). Manually refreshing the page in browser gets everything back to working as intended.
I’ve tried enqueuing what I think are the necessary scripts and styles from the plugin directory in the child theme’s function.php file, thinking that might get things moving, but either I’m missing some or that’s not the issue. These are the scripts / styles currently loading:
Any idea how I can get the players running on AJAX success would be greatly appreciated.