aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/item_handlers
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/components/item_handlers')
-rw-r--r--viewer/src/components/item_handlers/LdAudioViewer.vue5
-rw-r--r--viewer/src/components/item_handlers/LdDirectory.vue3
-rw-r--r--viewer/src/components/item_handlers/LdPdfViewer.vue3
-rw-r--r--viewer/src/components/item_handlers/LdPicture.vue2
-rw-r--r--viewer/src/components/item_handlers/LdVideoViewer.vue11
5 files changed, 6 insertions, 18 deletions
diff --git a/viewer/src/components/item_handlers/LdAudioViewer.vue b/viewer/src/components/item_handlers/LdAudioViewer.vue
index 8c8ce2b..2e0f8dc 100644
--- a/viewer/src/components/item_handlers/LdAudioViewer.vue
+++ b/viewer/src/components/item_handlers/LdAudioViewer.vue
@@ -22,10 +22,7 @@
22 <div class="flex-column container-vh-centering"> 22 <div class="flex-column container-vh-centering">
23 <ld-thumbnail :item="item" /> 23 <ld-thumbnail :item="item" />
24 <audio :class="$style.player" :src="itemResourceUrl" preload="auto" controls> 24 <audio :class="$style.player" :src="itemResourceUrl" preload="auto" controls>
25 <a 25 <a :download="itemFileName" :href="itemResourceUrl">{{ $t("download.download-file-fmt", [itemFileName]) }}</a>
26 :download="itemFileName"
27 :href="itemResourceUrl"
28 >{{ $t("download.download-file-fmt", [itemFileName]) }}</a>
29 </audio> 26 </audio>
30 </div> 27 </div>
31</template> 28</template>
diff --git a/viewer/src/components/item_handlers/LdDirectory.vue b/viewer/src/components/item_handlers/LdDirectory.vue
index f7fa33f..eec8011 100644
--- a/viewer/src/components/item_handlers/LdDirectory.vue
+++ b/viewer/src/components/item_handlers/LdDirectory.vue
@@ -39,5 +39,4 @@ export default class LdDirectory extends Vue {
39} 39}
40</script> 40</script>
41 41
42<style lang="scss"> 42<style lang="scss"></style>
43</style>
diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue
index 6471aac..462c463 100644
--- a/viewer/src/components/item_handlers/LdPdfViewer.vue
+++ b/viewer/src/components/item_handlers/LdPdfViewer.vue
@@ -42,5 +42,4 @@ export default class LdPdfViewer extends Vue {
42} 42}
43</script> 43</script>
44 44
45<style lang="scss" module> 45<style lang="scss" module></style>
46</style>
diff --git a/viewer/src/components/item_handlers/LdPicture.vue b/viewer/src/components/item_handlers/LdPicture.vue
index 3809e4d..e652afc 100644
--- a/viewer/src/components/item_handlers/LdPicture.vue
+++ b/viewer/src/components/item_handlers/LdPicture.vue
@@ -33,7 +33,7 @@
33 ref="imageElement" 33 ref="imageElement"
34 :src="pictureSrc(item.properties.resource)" 34 :src="pictureSrc(item.properties.resource)"
35 class="ld-picture-element" 35 class="ld-picture-element"
36 :class="{'slow-loading': Boolean(slowLoadingStyle)}" 36 :class="{ 'slow-loading': Boolean(slowLoadingStyle) }"
37 :style="slowLoadingStyle" 37 :style="slowLoadingStyle"
38 @load="clearSlowLoading" 38 @load="clearSlowLoading"
39 /> 39 />
diff --git a/viewer/src/components/item_handlers/LdVideoViewer.vue b/viewer/src/components/item_handlers/LdVideoViewer.vue
index 67203a5..2e3a43c 100644
--- a/viewer/src/components/item_handlers/LdVideoViewer.vue
+++ b/viewer/src/components/item_handlers/LdVideoViewer.vue
@@ -21,13 +21,7 @@
21<template> 21<template>
22 <!-- intermediate container necessary to eliminate the scrollbar --> 22 <!-- intermediate container necessary to eliminate the scrollbar -->
23 <div class="fill no-scroll"> 23 <div class="fill no-scroll">
24 <video 24 <video class="fill" :src="itemResourceUrl" :poster="thumbnailResourceUrl" preload="auto" controls>
25 class="fill"
26 :src="itemResourceUrl"
27 :poster="thumbnailResourceUrl"
28 preload="auto"
29 controls
30 >
31 <ld-download :item="item" /> 25 <ld-download :item="item" />
32 </video> 26 </video>
33 </div> 27 </div>
@@ -50,5 +44,4 @@ export default class LdVideoViewer extends Vue {
50} 44}
51</script> 45</script>
52 46
53<style lang="scss" module> 47<style lang="scss" module></style>
54</style>