From 697685ec2e866fc06302174ba0178c98b9b2dfa5 Mon Sep 17 00:00:00 2001 From: Matthew Loseke Date: Wed, 9 Nov 2016 15:24:50 -0600 Subject: [PATCH] mp3 files render in an audio tag that has controls --- lib/assets/javascripts/attachinary.js.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/assets/javascripts/attachinary.js.coffee b/lib/assets/javascripts/attachinary.js.coffee index 483bb25..d8af17c 100644 --- a/lib/assets/javascripts/attachinary.js.coffee +++ b/lib/assets/javascripts/attachinary.js.coffee @@ -12,6 +12,8 @@
  • <% if(files[i].resource_type == "raw") { %>
    + <% } else if (files[i].format == "mp3") { %> +