From b5e81241c64e2bb7eabdfc928bd58ab72b76e960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Advaita=20K=E1=B9=9B=E1=B9=A3=E1=B9=87a=20D=C4=81sa?= Date: Sun, 26 Feb 2023 12:06:07 +0100 Subject: [PATCH] Play audio on Inbox page Fixes #172 --- src/App.vue | 5 +- src/app/home/components/HomePage.vue | 13 ++- src/app/library/components/AddVerseDialog.vue | 1 + src/app/library/components/LibraryPage.vue | 3 + src/app/shared/components/AudioPlayer.vue | 67 ++++++++++++ src/app/shared/components/VersePlayer.vue | 102 ++++++------------ src/app/shared/index.ts | 5 +- .../shared/services/downloadService.ts} | 14 ++- src/app/shared/stores/audioPlayerStore.ts | 59 ++++++++++ 9 files changed, 196 insertions(+), 73 deletions(-) create mode 100644 src/app/shared/components/AudioPlayer.vue rename src/{services/DownloadService.ts => app/shared/services/downloadService.ts} (85%) create mode 100644 src/app/shared/stores/audioPlayerStore.ts diff --git a/src/App.vue b/src/App.vue index 0f2d0c64..45064caa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,15 @@ \ No newline at end of file diff --git a/src/app/home/components/HomePage.vue b/src/app/home/components/HomePage.vue index 6a648e49..1a14ffb5 100644 --- a/src/app/home/components/HomePage.vue +++ b/src/app/home/components/HomePage.vue @@ -1,7 +1,10 @@