Fix console crash
All checks were successful
repod / nextcloud (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m48s

This commit is contained in:
Michel Roux 2023-08-28 21:25:12 +02:00
parent 928a11e95e
commit 61d55844a2
3 changed files with 10 additions and 7 deletions

View File

@ -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"

View File

@ -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;
} }

View File

@ -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() {