Sha256: 94aed1c4a2445f8f2226c6bc9a16531aaeae55431a7650b450aa48e6aec5db06

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

# Frozen-string-literal: true
# Copyright: 2012 - 2017 - MIT License
# Encoding: utf-8

require "jekyll/assets"
require "nokogiri"

module Jekyll
  module Assets
    class HTML
      class Video < HTML
        content_types "video/avi"
        content_types "video/webm"
        content_types "video/mp4"

        def run
          Nokogiri::HTML::Builder.with(doc) do |d|
            d.video("No support for video.", args.to_h({
              html: true, skip: HTML.skips
            }))
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-assets-3.0.3 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.2 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.1 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.0 lib/jekyll/assets/plugins/html/vid.rb