More actions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
2. Generate HTML code and put into question's HTML | 2. Generate HTML code and put into question's HTML | ||
<syntaxhighlight lang="html" line="1"> | |||
<video controls="" autoplay="" width="300" height="200"> | |||
<source type="video/ogg" src="%Link%" /> | |||
<source type="video/mp4" src="%Link%" /> | |||
<source type="video/webm" src="%Link%" /> | |||
Your browser does not support the<video>element.</video> | |||
</video> | |||
</syntaxhighlight> | |||
3. Save and test. | 3. Save and test. |
Revision as of 02:12, 18 June 2018
This page will guide you how to insert a video file (as attachment) into the question. Please follow these steps:
1. Add an attachment and get the link of video file.
2. Generate HTML code and put into question's HTML
<video controls="" autoplay="" width="300" height="200">
<source type="video/ogg" src="%Link%" />
<source type="video/mp4" src="%Link%" />
<source type="video/webm" src="%Link%" />
Your browser does not support the<video>element.</video>
</video>
3. Save and test.