diff --git a/src/renderer/components/TimelineSpace/Modals/Media.vue b/src/renderer/components/TimelineSpace/Modals/Media.vue
index e8adb3a0..e7c77147 100644
--- a/src/renderer/components/TimelineSpace/Modals/Media.vue
+++ b/src/renderer/components/TimelineSpace/Modals/Media.vue
@@ -2,6 +2,7 @@
@@ -27,7 +28,7 @@ export default {
}
},
watch: {
- src: async function(newSrc, _oldSrc) {
+ src: async function (newSrc, _oldSrc) {
this.imageSrc = newSrc
if (newSrc && !this.isMovieFile() && !this.isGIF()) {
try {
@@ -51,6 +52,9 @@ export default {
isGIF() {
return ['gifv'].includes(this.type)
},
+ isAudio() {
+ return ['audio'].includes(this.type)
+ },
async loaded() {
this.$store.dispatch('TimelineSpace/Modals/ImageViewer/loaded')
}
diff --git a/src/renderer/components/organisms/Toot.vue b/src/renderer/components/organisms/Toot.vue
index a66f0441..b7f3c5cd 100644
--- a/src/renderer/components/organisms/Toot.vue
+++ b/src/renderer/components/organisms/Toot.vue
@@ -95,13 +95,14 @@
- GIF
- VIDEO
+ GIF
+ VIDEO
+ AUDIO