Fix console crash
This commit is contained in:
parent
928a11e95e
commit
61d55844a2
@ -17,7 +17,7 @@
|
||||
:duration="duration" />
|
||||
<div v-if="!loading" class="player">
|
||||
<img :src="episode.episodeImage">
|
||||
<Infos :podcast-url="podcastUrl" />
|
||||
<Infos />
|
||||
<Controls :paused="paused" />
|
||||
<Timer class="timer"
|
||||
:current-time="currentTime"
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="controls">
|
||||
<PauseButton v-if="!paused"
|
||||
class="pointer"
|
||||
:size="50"
|
||||
@ -80,6 +80,10 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.controls {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -12,11 +12,10 @@
|
||||
<script>
|
||||
export default {
|
||||
name: 'Infos',
|
||||
props: {
|
||||
podcastUrl: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
podcastUrl: atob(this.$route.params.url),
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
episode() {
|
||||
|
Loading…
Reference in New Issue
Block a user