<commit_before><html>
  <head>
    <title><%= @mediaobject.title %> (<%= @mediaobject.pid %>)</title>
  </head>

  <body>
    <h1><%= @mediaobject.title %></h1>

    <%# Here comes the hack to HTTP live stream. This naively assumes that
        you are using a MP4 live stream instead of FLV %>
    <% stream_location = @currentStream.derivatives.first.url.first 
       stream_location.gsub!('rtmp', 'http')

       mp4_version = stream_location 
       ogg_version = mp4_version.gsub!('\.mp4', '.ogg')
     %>
    <video>
      <source src="<%= mp4_version %>" type="video/mp4" %>
      <source src="<%= ogg_version %>" type="video/ogg" %>
    </video>
  </body>
</html>
<commit_msg>No controls on mockup<commit_after><html>
  <head>
    <title><%= @mediaobject.title %> (<%= @mediaobject.pid %>)</title>
  </head>

  <body>
    <h1><%= @mediaobject.title %></h1>

    <%# Here comes the hack to HTTP live stream. This naively assumes that
        you are using a MP4 live stream instead of FLV %>
    <% stream_location = @currentStream.derivatives.first.url.first 
       stream_location.gsub!('rtmp', 'http')

       mp4_version = stream_location 
       ogg_version = mp4_version.gsub!('\.mp4', '.ogg')
     %>
    <video width="640" height="480" controls="controls">
      <source src="<%= mp4_version %>" type="video/mp4" %>
      <source src="<%= ogg_version %>" type="video/ogg" %>
    </video>
  </body>
</html>

{'fraction_non_alphanumeric': 0.1820098383696416, 'fraction_numerical': 0.015460295151089248, 'mean_word_length': 3.0802292263610314, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '397123', 'n_tokens_mistral': 524, 'n_tokens_neox': 479, 'n_words': 114}