handle embed in playlists

This commit is contained in:
bkfox
2018-02-23 15:06:09 +01:00
parent 82005261bb
commit 04c3330c21
3 changed files with 10 additions and 0 deletions

View File

@ -2,8 +2,13 @@
{% load i18n %}
<script type="text/x-template" id="template-sound">
<div class="component sound flex_row"
v-html="track.embed"
v-if="track.embed">
</div>
<div class="component sound flex_row"
:state="state"
v-else
>
<audio preload="metadata" ref="audio"
@pause="state = State.Stop"