lib/jekyll/assets/plugins/html/vid.rb in jekyll-assets-3.0.3 vs lib/jekyll/assets/plugins/html/vid.rb in jekyll-assets-3.0.4
- old
+ new
@@ -7,13 +7,12 @@
module Jekyll
module Assets
class HTML
class Video < HTML
- content_types "video/avi"
- content_types "video/webm"
- content_types "video/mp4"
+ content_types %r!^video/.*$!
+ # --
def run
Nokogiri::HTML::Builder.with(doc) do |d|
d.video("No support for video.", args.to_h({
html: true, skip: HTML.skips
}))