mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Made video tag work in more browsers
This commit is contained in:
parent
aafbfefa38
commit
e5d117c8bf
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user