Skip to content

A self-hosted media server and file management system

fix(player): ambient player canvas was too high resolution

aminnausin780c1e20c730
diff --git a/resources/js/components/video/VideoAmbientPlayer.vue b/resources/js/components/video/VideoAmbientPlayer.vue
index 6fd4f971..17b4715d 100755
--- a/resources/js/components/video/VideoAmbientPlayer.vue
+++ b/resources/js/components/video/VideoAmbientPlayer.vue
@@ -219,8 +219,8 @@ watch(
<canvas
v-cloak
v-show="(isDrawing || prevFrame) && ambientMode && !lightMode && !isAudio && !videoPlayer?.isPictureInPicture"
- width="600"
- :height="isAudio ? '6' : '400'"
+ width="6"
+ :height="isAudio ? '6' : '4'"
aria-hidden="true"
tabindex="-1"
class="mx-auto my-auto opacity-0 blur-xl transition-opacity duration-700"