HTML Template render framerate

Hey there, I would like to ask if it’s possible to specify HTML template rendering FPS? When I try my template on 1080p5000 everything looks perfect. When I choose 1080i5000 graphics get jerky and they are rendering in 1080p2500, but decklink gives 1080i5000 output without interlace. So maybe it’s possible somehow to force template or server or I don’t what to render template in 50p instead in 25p on 1080i5000 mode?

Use requestAnimationFrame, it’s called at the channel framerate.

Thanks for answer. I’m using code written by Tjenkinson - https://github.com/tjenkinson/dynamic-marquee. And I can see there requestAnimationFrame being used, but it does not help, to look good…