fix stuff; sound inline in admin

This commit is contained in:
bkfox 2020-09-16 15:14:46 +02:00
parent ff58290db0
commit 659e06670d
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ The audio player
</template>
<template v-slot:track="{ onAir }">
<h4 class="title is-4" :aria-description="{% trans "Track currently on air" %}">
<h4 class="title is-4" aria-description="{% trans "Track currently on air" %}">
<span class="has-text-info is-size-3">&#9836;</span>
<span>[[ onAir.title ]]</span>
<span class="has-text-grey-dark has-text-weight-light">
@ -39,14 +39,14 @@ The audio player
</template>
<template v-slot:diffusion="{ onAir }">
<h4 class="title is-4" :aria-description="{% trans "Diffusion currently on air" %}">
<h4 class="title is-4" aria-description="{% trans "Diffusion currently on air" %}">
<a :href="onAir.url">[[ onAir.title ]]</a>
</h4>
<div class="">[[ onAir.info ]]</div>
</template>
<template v-slot:empty>
<h4 class="title is-4" :aria-description="{% trans "Currently playing" %}">{{ station.name }}</h4>
<h4 class="title is-4" aria-description="{% trans "Currently playing" %}">{{ station.name }}</h4>
</template>
</a-player>
</div>

View File

@ -83,7 +83,7 @@ export default {
},
toggle() {
console.log('tooogle', this.paused, '-', this.$refs.audio.src)
console.log('tooogle', this.paused, '-', this.$refs.audio.src)
if(this.paused)
this.play()
else