Stroke as a mask not working welll

I’ve done a lottie animation that uses stroke as a mask (the mouth of the character). It works just fine on the preview, but after implementing it on the website, i’ve got this result:


Screen Recording 2025-09-17 at 11.43.36.mov


Screen Recording 2025-09-17 at 11.44.13.mov

On the supported features https://lottiefiles.com/pt/supported-features I haven’t find anything about strokes as a mask, could anyone help me with this issue? Is this really unsupported or is there a way to make it work? If there’s any plugin to outline the strokes on after effects and make it a shape it could solve this problem, but I don’t think it exists