<commit_before>

<style>
  div.share-video { padding: 10px 0 ; opacity: 0.3;}
  div.share-video:hover { opacity: 1;}
</style>
<div class="clearfix2"></div>

</div>
<div id="video-answers" class="row col-lg-12 video-row">
  <div class="subheader_title col-lg-12"><div>Latest Videos</div></div>
<% @videos.each do |video| %>  
  <div class="col-lg-4">
    
    <div style="padding-top: 55.6%; position: relative; height: 0; width: 100%">
      <iframe style="width: 100%; height: 100%; top: 0; left: 0; position: absolute" 
        src="<%=video.youtube_embed_url%>?hd=1&rel=0&autohide=1&showinfo=0" 
        frameborder="0">
      </iframe>
    </div>
      <div class="video_title"><%=link_to video.title, video %></div> 

    <div class="share-video">
      <a href="https://twitter.com/share" 
         class="twitter-share-button" 
         data-url="<%= url_for video %>"
         data-text="Why do YOU want to fix our democracy? Check out <%= video.title %>"
         data-related="lessig2016"
         data-hashtags="FixDemocracyFirst">Tweet</a>
         <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
      <div class="fb-share-button"
         data-href="http://fixdemocracyfirst.us/statements/<%=video.id%>-<%=video.slug%>"
         data-layout="button_count"></div>
      </div>
    </div>
  <%= render 'statements/modal', video: video %>  
<% end %>
</div><commit_msg>uses correct urls for Facebook and twitter shares<commit_after>

<style>
  div.share-video { padding: 10px 0 ; opacity: 0.3;}
  div.share-video:hover { opacity: 1;}
</style>
<div class="clearfix2"></div>

</div>
<div id="video-answers" class="row col-lg-12 video-row">
  <div class="subheader_title col-lg-12"><div>Latest Videos</div></div>
<% @videos.each do |video| %>  
  <div class="col-lg-4">
    
    <div style="padding-top: 55.6%; position: relative; height: 0; width: 100%">
      <iframe style="width: 100%; height: 100%; top: 0; left: 0; position: absolute" 
        src="<%=video.youtube_embed_url%>?hd=1&rel=0&autohide=1&showinfo=0" 
        frameborder="0">
      </iframe>
    </div>
      <div class="video_title"><%=link_to video.title, video %></div> 

    <div class="share-video">
      <a href="https://twitter.com/share" 
         class="twitter-share-button"
         data-url="<%=request.original_url%><%=url_for video%>"
         data-text="Why do YOU want to fix our democracy? Check out <%= video.title %>"
         data-related="lessig2016"
         data-hashtags="FixDemocracyFirst">Tweet</a>
         <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
      <div class="fb-share-button"
         data-href="<%=request.original_url%><%=url_for video%>"
         data-layout="button_count"></div>
      </div>
    </div>
  <%= render 'statements/modal', video: video %>  
<% end %>
</div>
{'fraction_non_alphanumeric': 0.2079659470963819, 'fraction_numerical': 0.02249923989054424, 'mean_word_length': 3.7270114942528734, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 76, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7232706', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1157, 'n_words': 196}