From 054a0764c56139399280eafa0056021ef7bfff48 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 19 Jun 2023 15:47:13 +0200 Subject: [PATCH] Revert "Videos: Play videos in full size (work in progress)" This reverts commit df0d93b1e492a37b6279490f38ee6e4dc7f8475e. --- frontend/src/component/video/player.vue | 3 +-- frontend/src/css/viewer.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/component/video/player.vue b/frontend/src/component/video/player.vue index 9a539dcd3..038f225f0 100644 --- a/frontend/src/component/video/player.vue +++ b/frontend/src/component/video/player.vue @@ -85,8 +85,7 @@ export default { return this.$el.getElementsByTagName('video')[0]; }, updateStyle() { - // this.style = `width: ${this.width.toString()}px; height: ${this.height.toString()}px`; - this.style = `width:100%; height: 100%`; + this.style = `width: ${this.width.toString()}px; height: ${this.height.toString()}px`; this.$el.style.cssText = this.style; }, render() { diff --git a/frontend/src/css/viewer.css b/frontend/src/css/viewer.css index d96cac659..2019ab071 100644 --- a/frontend/src/css/viewer.css +++ b/frontend/src/css/viewer.css @@ -10,7 +10,7 @@ top: 0; bottom: 0; right: 0; - background-color: rgba(0,0,0,1); + background-color: rgba(0,0,0,0.66); } #photoprism .video-wrapper {