# Html template

**URL:** <https://casparcgforum.org/t/html-template/192>\
**Category:** General\
**Created:** [May 31, 2018, 12:18pm UTC](https://casparcgforum.org/t/html-template/192 "2018-05-31T12:18:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexsmith](https://casparcgforum.org/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@alexsmith](https://casparcgforum.org/u/alexsmith)\
**Post date:** [May 31, 2018, 12:18pm UTC](https://casparcgforum.org/t/html-template/192/1 "2018-05-31T12:18:38Z")

</div>

Where do I get a html template for html producer?

---

<div class="post-metadata">

**Author:** ![novalis](https://casparcgforum.org/letter_avatar_proxy/v4/letter/n/b77776/32.png) [@novalis](https://casparcgforum.org/u/novalis)\
**Post date:** [May 31, 2018, 1:09pm UTC](https://casparcgforum.org/t/html-template/192/2 "2018-05-31T13:09:00Z")

</div>

Well, there are a few options.  
You can either build one from scratch using html and javascript. You can do so, as you would do with a “normal” website but you have to integrate a few functions to let caspar control the template. Unfortunatley the HTML-Producer Wiki-site on [github](https://github.com/CasparCG/help/wiki/Producers) is still missing, however someone did a blogpost about that with the most relevant infos. [https://blog.evilgeniustech.com/casparcg-html-producer-basics/](https://blog.evilgeniustech.com/casparcg-html-producer-basics/)

The other way is to use a WYSIWYG-editor for building templates, as many of us are not web designers. Many people use Adobe Edge Animate, even tough its no longer developed. There is a libary (e2c) to integrate it with casparCG. You can find some info on that here on the forum: [WYSIWYG software to create HTML Templates](https://casparcgforum.org/t/wysiwyg-software-to-create-html-templates/131)

---

<div class="post-metadata">

**Author:** ![Maurice78](https://casparcgforum.org/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@Maurice78](https://casparcgforum.org/u/Maurice78)\
**Post date:** [May 31, 2018, 5:40pm UTC](https://casparcgforum.org/t/html-template/192/3 "2018-05-31T17:40:48Z")

</div>

Good point  
if i can find some time  
i make a simple but functional  
html template for on the wiki to get people going

ls

---

<div class="post-metadata">

**Author:** ![silid](https://casparcgforum.org/user_avatar/casparcgforum.org/silid/32/22_2.png) [@silid](https://casparcgforum.org/u/silid)\
**Post date:** [May 31, 2018, 5:49pm UTC](https://casparcgforum.org/t/html-template/192/4 "2018-05-31T17:49:44Z")

</div>

See this wiki page: [https://github.com/casparcg/help/wiki/Media:-HTML-Templates](https://github.com/casparcg/help/wiki/Media:-HTML-Templates)

---

<div class="post-metadata">

**Author:** ![alexsmith](https://casparcgforum.org/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@alexsmith](https://casparcgforum.org/u/alexsmith)\
**Post date:** [May 31, 2018, 10:25pm UTC](https://casparcgforum.org/t/html-template/192/5 "2018-05-31T22:25:17Z")

</div>

Thank you all for your answers. Are there special requirements for a template’s layout so that it displays correctly on TV screen?

---

<div class="post-metadata">

**Author:** ![crazyscot](https://casparcgforum.org/user_avatar/casparcgforum.org/crazyscot/32/93_2.png) [@crazyscot](https://casparcgforum.org/u/crazyscot)\
**Post date:** [June 7, 2018, 10:34pm UTC](https://casparcgforum.org/t/html-template/192/6 "2018-06-07T22:34:21Z")

</div>

Bear in mind that if you are specifying absolute pixel positioning of your HTML elements, your template will only work at one particular screen size. Of course, this may not be a problem for you.

The alternative is to use proportions of the screen size in your CSS (5vw, 5vh, etc). If you’re using Javascript to position elements dynamically there is a little more work to determine the viewport height and width. I use both of these techniques in my templates, which you’re welcome to a copy of - see [https://mediary.nz/broadcast-graphics/](https://mediary.nz/broadcast-graphics/) .
