Sha256: ffe1e1b5a737fe3d8d01e440b523584bc9b372de102a47de39cae078c56e3d96

Contents?: true

Size: 490 Bytes

Versions: 7

Compression:

Stored size: 490 Bytes

Contents

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

require "jekyll/assets"
require "nokogiri"

module Jekyll
  module Assets
    class HTML
      class Video < HTML
        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
            }))
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-assets-3.0.12 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.11 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.10 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.9 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.8 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.7 lib/jekyll/assets/plugins/html/vid.rb
jekyll-assets-3.0.6 lib/jekyll/assets/plugins/html/vid.rb