Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Insert video into question: Difference between revisions

From Catglobe Wiki
Hovietluu (talk | contribs)
No edit summary
Hovietluu (talk | contribs)
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.