<commit_before>
# Example usage: {% lightbox 2012/abc.png, Title of Image, Alt Title %}
require 'kramdown'

module Jekyll
  class VideoTag < Liquid::Tag
    def initialize(tag_name, text, token)
      super
      @text = text
    end



  def render(context)
    path, title, alt = @text.split('|').map(&:strip)
    output ="<div class=\"row\">
       <div style=\"float:left; padding-left:15px;padding-right:0px;position:relative;margin-left:0px;margin-right:0px;\">
        <p><a href=\"http://www.youtube.com/watch?v=#{path}\" data-toggle=\"lightbox\"> <img src=\"/attachment_files/navigation/video.jpeg\" class=\"img-responsive\"></a></p>
       </div>
    </div>"
    end
  end
end
 
Liquid::Template.register_tag('youtube', Jekyll::VideoTag)
<commit_msg>adjusting size of video frame<commit_after>
# Example usage: {% lightbox 2012/abc.png, Title of Image, Alt Title %}
require 'kramdown'

module Jekyll
  class VideoTag < Liquid::Tag
    def initialize(tag_name, text, token)
      super
      @text = text
    end



  def render(context)
    path, title, alt = @text.split('|').map(&:strip)
    output ="<div class=\"row\">
       <div style=\"float:left; padding-left:15px;padding-right:0px;position:relative;margin-left:0px;margin-right:0px;\">
        <p><a href=\"http://www.youtube.com/watch?v=#{path}\" data-width=\"853\" data-height=\"480\" data-toggle=\"lightbox\"> <img src=\"/attachment_files/navigation/video.jpeg\" class=\"img-responsive\"></a></p>
       </div>
    </div>"
    end
  end
end
 
Liquid::Template.register_tag('youtube', Jekyll::VideoTag)

{'fraction_non_alphanumeric': 0.18412698412698414, 'fraction_numerical': 0.015238095238095238, 'mean_word_length': 3.6765578635014835, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5036168', 'n_tokens_mistral': 560, 'n_tokens_neox': 529, 'n_words': 106}