Present videos & embed webpages/iframes

With templates dynamic, documents can be presented to the participant, or templates can be used to show html content. For example:

  • Youtube videos
  • Web pages
  • Virtual notepad
  • Animated presentations
  • Calendar
  • Docs
  • Sheets
  • Maps

Copy the code snippet into your script

<node id="Html_and_embed_iframes" type="Template">
<name>Html and embed iframes</name>
<templateCode>template001</templateCode>
</node>


After copying it, make sure to do the following:

1. Make sure the node id is unique. Give it a name / number (here: Html_and_embed_iframes).

2. You can give the node a descriptive name (here: Html and embed iframes).

3. Make sure the templateCode is referring to the code in the template library (here: template001).


Youtube video example:

As an example, you can copy the following code in the template:


<iframe src="https://www.youtube.com/embed/QTcTBJfsXxE?muted=1&autoplay=1&loop=1" width="700" height="400" frameborder="0" allow="autoplay; fullscreen" allowfullscreen=""></iframe>

IMPORTANT:  videos must have autoplay on and muted on


Tip watch: Video: Create your own Script (basic) to create your first own Script.