<commit_before>- if medium.is_video?
  - case medium.content_type
  - when 'video/quicktime'
    :javascript
      writeQuickTime({"src":"#{medium.public_filename}","width":"320","height":"240","autoplay":"false"});
- if medium.is_audio?
  :javascript
    writeQuickTime({"src":"#{medium.public_filename}","width":"320","height":"0","autoplay":"true"});<commit_msg>Added flash FLV files to the embed partial.<commit_after>- if medium.is_video?
  - case medium.content_type
  - when 'video/quicktime'
    :javascript
      writeQuickTime({"src":"#{medium.public_filename}","width":"320","height":"240","autoplay":"false"});
  - when 'application/x-flash-video'
    = javascript_include_tag 'swfobject', :plugin => 'natto'
    #preview
    :javascript
      var s1 = new SWFObject('/plugin_assets/natto/jwplayer/player.swf','ply','470','320','9','#ffffff');
      s1.addParam('allowfullscreen','true');
      s1.addParam('allowscriptaccess','always');
      s1.addParam('wmode','opaque');
      s1.addParam('flashvars','file=#{@object.public_filename}&controlbar=bottom&duration=34&fullscreen=true&stretching=fill&backcolor=cccccc');
      s1.write('preview');
- if medium.is_audio?
  :javascript
    writeQuickTime({"src":"#{medium.public_filename}","width":"320","height":"0","autoplay":"true"});
{'fraction_non_alphanumeric': 0.2044753086419753, 'fraction_numerical': 0.02700617283950617, 'mean_word_length': 6.010810810810811, 'pattern_counts': {'":': 16, '<': 3, '<?xml version=': 0, '>': 4, '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': '2626374', 'n_tokens_mistral': 437, 'n_tokens_neox': 415, 'n_words': 49}