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