I think I kinda see your problem, but I’d recommend you this:
-
Take a look ar @indr’s HTML producer tutorial, which is quite helpful an thorough. It might seem a bit slow for a seasoned web developer, but introduces a couple of concepts around the functions CasparCG invokes while displaying a template.
-
Definitely check WebCG Framework, also by @indr. I’ve done plenty of templates with it and frankly simplifies a lot of the code behind the scenes, so you can focus on setting the texts in the right places. Also, it integrates a development mode where you can test everything right in the browser.
-
This is a really simple template that I’ve done for one of our shows. It implements
play()
,stop()
,update()
and uses WebCG Framework. I hope it can help a bit.