<commit_before>{% load static mezzanine_tags article_tags article_filters %}

{% if article.featured_video or article.featured_audio %}
<div class="media-thumbnail">
    <img src="{% get_media_prefix %}{% thumbnail article.featured_image width height %}" alt="">
    <a href="#media_popup_{{ article.slug }}" role="button" data-toggle="modal"><i class="icon-play-circle"></i></a>
</div>
<div id="media_popup_{{ article.slug }}" class="modal hide fade media-popup" data-video="{{ article.capsule_video|default_if_none:article.featured_video }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel"><a href="{{ article.get_absolute_url }}">{{ article.title }}</a></h3>
  </div>
  <div class="modal-body">
    {% if article.featured_video %}
      <div class="video-container">
      </div><commit_msg>Fixing empty video on only featured video present<commit_after>{% load static mezzanine_tags article_tags article_filters %}

{% if article.featured_video or article.featured_audio %}
<div class="media-thumbnail">
    <img src="{% get_media_prefix %}{% thumbnail article.featured_image width height %}" alt="">
    <a href="#media_popup_{{ article.slug }}" role="button" data-toggle="modal"><i class="icon-play-circle"></i></a>
</div>
<div id="media_popup_{{ article.slug }}" class="modal hide fade media-popup" data-video="{{ article.capsule_video|default:article.featured_video }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel"><a href="{{ article.get_absolute_url }}">{{ article.title }}</a></h3>
  </div>
  <div class="modal-body">
    {% if article.featured_video %}
      <div class="video-container">
      </div>
{'fraction_non_alphanumeric': 0.18883248730964466, 'fraction_numerical': 0.003045685279187817, 'mean_word_length': 5.75, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '5709343', 'n_tokens_mistral': 642, 'n_tokens_neox': 621, 'n_words': 128}