feature(view) audio -> media

This commit is contained in:
coderaiser 2014-04-25 10:14:08 -04:00
parent a0df746f12
commit 124fb53ff5
3 changed files with 49 additions and 24 deletions

View file

@ -1,4 +0,0 @@
<div id="js-audio">
<audio src="{{ src }}" controls autoplay></audio>
<p class="reduce-text"><strong>{{ name }}</strong></p>
</div>

4
html/view/media.html Normal file
View file

@ -0,0 +1,4 @@
<div id="js-audio">
<{{ type }} data-name="js-media" class="media" src="{{ src }}" controls autoplay></{{ type }}>
<p class="reduce-text"><strong>{{ name }}</strong></p>
</div>