diff options
author | pdp8 <pdp8@pdp8.info> | 2022-08-26 01:54:48 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2022-08-26 01:54:48 +0200 |
commit | d684a873fce8ed3e19d514839afbf831162c2ed8 (patch) | |
tree | b2a01d612ddf4dcc62d7b37552ec2302ad3cdd88 /html.rb | |
parent | f7e3fbebc0b481ce0ac76506b8a017a9a63bec11 (diff) |
webm videos reactivated
Diffstat (limited to 'html.rb')
-rwxr-xr-x | html.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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>") |