fix stuff; sound inline in admin
This commit is contained in:
		@ -28,7 +28,7 @@ The audio player
 | 
				
			|||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <template v-slot:track="{ onAir }">
 | 
					        <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 class="has-text-info is-size-3">♬</span>
 | 
				
			||||||
                <span>[[ onAir.title ]]</span>
 | 
					                <span>[[ onAir.title ]]</span>
 | 
				
			||||||
                <span class="has-text-grey-dark has-text-weight-light">
 | 
					                <span class="has-text-grey-dark has-text-weight-light">
 | 
				
			||||||
@ -39,14 +39,14 @@ The audio player
 | 
				
			|||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <template v-slot:diffusion="{ onAir }">
 | 
					        <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>
 | 
					                <a :href="onAir.url">[[ onAir.title ]]</a>
 | 
				
			||||||
            </h4>
 | 
					            </h4>
 | 
				
			||||||
            <div class="">[[ onAir.info ]]</div>
 | 
					            <div class="">[[ onAir.info ]]</div>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <template v-slot:empty>
 | 
					        <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>
 | 
					        </template>
 | 
				
			||||||
    </a-player>
 | 
					    </a-player>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
				
			|||||||
@ -83,7 +83,7 @@ export default {
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        toggle() {
 | 
					        toggle() {
 | 
				
			||||||
            console.log('tooogle', this.paused, '-', this.$refs.audio.src)
 | 
					           console.log('tooogle', this.paused, '-', this.$refs.audio.src)
 | 
				
			||||||
            if(this.paused)
 | 
					            if(this.paused)
 | 
				
			||||||
                this.play()
 | 
					                this.play()
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user