diff --git a/src/components/previews/PreviewPlayer.vue b/src/components/previews/PreviewPlayer.vue index 90be7abade..fcb1b80275 100644 --- a/src/components/previews/PreviewPlayer.vue +++ b/src/components/previews/PreviewPlayer.vue @@ -114,7 +114,7 @@ :width="width" :handle-in="-1" :handle-out="-1" - :preview-id="currentPreview ? currentPreview.id : ''" + :preview-id="isMovie && currentPreview ? currentPreview.id : ''" @start-scrub="$refs['button-bar'].classList.add('unselectable')" @end-scrub="$refs['button-bar'].classList.remove('unselectable')" @progress-changed="onProgressChanged" diff --git a/src/components/previews/VideoProgress.vue b/src/components/previews/VideoProgress.vue index b9b1d1f233..a39743cda1 100644 --- a/src/components/previews/VideoProgress.vue +++ b/src/components/previews/VideoProgress.vue @@ -385,7 +385,7 @@ export default { }, previewId() { - if (this.movieDimensions.width) { + if (this.movieDimensions.width && this.previewId) { const path = `/api/movies/tiles/preview-files/${this.previewId}.png` const img = new Image() this.isTileLoading = true