I am trying to render after effects animations on browser using Bodymovin. I have tried the example from docs but it is not working. It is not displaying the animation. I am trying the example from docs
<html>
<body>
<div id="bm"></div>
<!-- Scripts -->
<script src="./bodymovin.js"></script>
<script>
var animation = bodymovin.loadAnimation({
container: document.getElementById('bm'),
renderer: 'svg',
loop: true,
autoplay: true,
// path: 'https://raw.githubusercontent.com/airbnb/lottie-web/master/demo/bodymovin/data.json'
path: 'data.json'
})
</script>
</body>
</html>