Made video tag work in more browsers

This commit is contained in:
Davis King 2017-12-29 12:58:17 -05:00
parent aafbfefa38
commit e5d117c8bf
2 changed files with 4 additions and 3 deletions

View File

@ -1193,7 +1193,7 @@ Or it can use the elastic net regularizer:
video concludes.
</p>
<center>
<video src="find_max_global_example.webm">
<video src="find_max_global_example">
Video of optimizer running
</video>
</center>

View File

@ -787,8 +787,9 @@
</img>
</xsl:template>
<xsl:template match="video">
<video controls="">
<source src="{@src}" type="video/webm"/>
<video controls="true" poster="{@src}.png">
<source src="{@src}.webm" type="video/webm"/>
<source src="{@src}.mp4" type="video/mp4"/>
<xsl:apply-templates/>
</video>
</xsl:template>