Browse Source

fix creation player

axolotle 1 year ago
parent
commit
4257f4c2e9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/pages/Gallery.vue
  2. 1 1
      src/pages/gallery/GalleryView.vue

+ 1 - 1
src/pages/Gallery.vue

@@ -64,7 +64,7 @@
           <component
             v-else-if="creation.mediaItem"
             :is="creation.mediaItem.is"
-            :src="creation.mediaItem.url"
+            :src="creation.mediaItem.src"
             controls
           />
         </template>

+ 1 - 1
src/pages/gallery/GalleryView.vue

@@ -8,7 +8,7 @@
           <img :src="node.image.url" :alt="node.image.alt">
 
           <button-expand
-            v-if="node.iframeUrl" artwork
+            v-if="node.iframeUrl || node.mediaItem" artwork
             v-b-modal="'modal-creation' + node.id" class="center"
           />