summaryrefslogtreecommitdiff
path: root/html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'html.rb')
-rwxr-xr-xhtml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.rb b/html.rb
index f543a2b..c4a7a5d 100755
--- a/html.rb
+++ b/html.rb
@@ -88,8 +88,8 @@ def video_html
poster = File.join("/videos", File.basename(dir), "poster.png")
html += "<video controls poster='#{poster}'>
- <source src='#{mp4}' type='video/mpeg'>
- <a href='#{mp4}'>#{mp4}</a>
+ <source src='#{webm}' type='video/webm'>
+ <source src='#{mp4}' type='video/mp4'>
</video><p>
"
html += lines.join("<br>")