<commit_before><img data-ng-if="attachment.media_type == 'image'" 
     data-ng-src="{{ getImageUrl(attachment) }}"
     data-ng-class="{attachmentHover: hover,
                     placeholderImage: attachment.placeholder_image_path !== null}" 
     alt="{{ data.record.title }}" 
     data-ng-cloak>

<video data-ng-if="attachment.media_type == 'video'" 
       data-ng-attr-poster="{{ getImageUrl(attachment) }}"
       data-ng-class="{attachmentHover: hover}"
       controls
       class="loaded-video"
       data-ng-cloak> 
  <source data-ng-if="attachment.media_type == 'video'"
          data-ng-src="{{ attachment.file_upload_url | trusted }}"
          data-ng-cloak>
  Sorry! Your browser does not recognize video tags.
</video>

<audio data-ng-if="attachment.media_type == 'audio'" 
       data-ng-attr-poster="{{ getImageUrl(attachment) }}"
       data-ng-class="{attachmentHover: hover}"
       controls
       class="loaded-audio"
       data-ng-cloak>
  <source data-ng-if="attachment.media_type == 'audio'"
          data-ng-src="{{ attachment.file_upload_url | trusted }}"
          data-ng-cloak>
  Sorry! Your browser does not recognize audio tags.
</audio>

<commit_msg>simplify display of video assets in asset view partial<commit_after><img data-ng-if="attachment.media_type == 'image'" 
     data-ng-src="{{ getImageUrl(attachment) }}"
     data-ng-class="{attachmentHover: hover,
                     placeholderImage: attachment.placeholder_image_path !== null}" 
     alt="{{ data.record.title }}" 
     data-ng-cloak>

<video data-ng-if="attachment.media_type == 'video'"
       data-ng-class="{attachmentHover: hover}"
       controls
       class="loaded-video"
       data-ng-src="{{ attachment.file_upload_url | trusted }}"
       data-ng-cloak> 
  Sorry! Your browser does not recognize video tags.
</video>

<audio data-ng-if="attachment.media_type == 'audio'" 
       data-ng-attr-poster="{{ getImageUrl(attachment) }}"
       data-ng-class="{attachmentHover: hover}"
       controls
       class="loaded-audio"
       data-ng-cloak>
  <source data-ng-if="attachment.media_type == 'audio'"
          data-ng-src="{{ attachment.file_upload_url | trusted }}"
          data-ng-cloak>
  Sorry! Your browser does not recognize audio tags.
</audio>


{'fraction_non_alphanumeric': 0.15256466462078036, 'fraction_numerical': 0.0, 'mean_word_length': 2.9895104895104896, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '4923585', 'n_tokens_mistral': 714, 'n_tokens_neox': 683, 'n_words': 132}