summaryrefslogtreecommitdiff
path: root/html.rb
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2022-08-26 01:54:48 +0200
committerpdp8 <pdp8@pdp8.info>2022-08-26 01:54:48 +0200
commitd684a873fce8ed3e19d514839afbf831162c2ed8 (patch)
treeb2a01d612ddf4dcc62d7b37552ec2302ad3cdd88 /html.rb
parentf7e3fbebc0b481ce0ac76506b8a017a9a63bec11 (diff)
webm videos reactivated
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>")