<commit_before>{% extends "base.html" %}

{% block title %}{{ video_file.title }}{% endblock %}

{% block content %}
<h1>{{ video_file.title }}</h1>

<p>
  <a href="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name}}" class="btn btn-inverted">Direct link</a> (valid for 3 hours)
</p>

<p>
  <video width="640" controls>
    <source src="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name}}" type="{{ video_file.mimetype }}">
    <object data="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name }}" type="{{ video_file.mimetype }}" width="640">
      <embed src="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name }}" width="640">
    </object>
  </video>
</p>
{% endblock %}
<commit_msg>Include mime type in the direct link<commit_after>{% extends "base.html" %}

{% block title %}{{ video_file.title }}{% endblock %}

{% block content %}
<h1>{{ video_file.title }}</h1>

<p>
  <a href="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name}}" type="{{ video_file.mimetype }}" class="btn btn-inverted">Direct link</a> (valid for 3 hours)
</p>

<p>
  <video width="640" controls>
    <source src="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name}}" type="{{ video_file.mimetype }}">
    <object data="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name }}" type="{{ video_file.mimetype }}" width="640">
      <embed src="{% url 'ticket' ticket.secret %}{{ ticket.dummy_name }}" width="640">
    </object>
  </video>
</p>
{% endblock %}

{'fraction_non_alphanumeric': 0.22790055248618785, 'fraction_numerical': 0.016574585635359115, 'mean_word_length': 4.594594594594595, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4328300', 'n_tokens_mistral': 555, 'n_tokens_neox': 508, 'n_words': 126}