fix stuff; sound inline in admin
This commit is contained in:
		@ -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">♬</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>
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user