diff --git a/bun.lockb b/bun.lockb index e034d04a5..00b661947 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 29262c2bc..50346d832 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,6 @@ "sweetalert2": "^11.7.1", "tailwind-scrollbar-hide": "^1.1.7", "uuid": "^8.3.2", - "video.js": "^8.10.0", "vue": "^3.3.4", "vue-draggable-plus": "^0.2.0-beta.2", "vue-router": "^4.0.14", diff --git a/src/assets/temp/test_video.webm b/src/assets/temp/test_video.webm new file mode 100644 index 000000000..960fceb7d Binary files /dev/null and b/src/assets/temp/test_video.webm differ diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 499d66c51..3704244fb 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -1,41 +1,22 @@ @@ -73,27 +44,53 @@ watchEffect(() => { position: fixed; top: 50%; left: 50%; - width: 100%; - height: 100%; display: flex; align-items: center; justify-content: center; + padding: 30px; + z-index: 1000; + backdrop-filter: blur(10px); } .overlay { - position: absolute; + position: fixed; top: 0; left: 0; + background-color: rgba(255, 255, 255, 0.2); + z-index: 990; width: 100%; height: 100%; - background-color: rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + justify-content: center; + border-radius: 12px; +} + +.close-icon { + position: absolute; + top: 0px; + right: 5px; + cursor: pointer; + color: white; + font-size: 24px; + border-radius: 8px; } .modal-content { - z-index: 10; - position: relative; - padding: 20px; - background: white; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + background-color: rgba(255, 255, 255, 0.5); border-radius: 8px; + padding: 5px; + width: 1000px; + height: 565px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + z-index: 1200; +} + +video { + height: 580px; } diff --git a/src/components/mini-widgets/MiniVideoRecorder.vue b/src/components/mini-widgets/MiniVideoRecorder.vue index 770a55a9b..edf48f1dd 100644 --- a/src/components/mini-widgets/MiniVideoRecorder.vue +++ b/src/components/mini-widgets/MiniVideoRecorder.vue @@ -34,8 +34,14 @@
- + + mdi-video-box @@ -76,7 +82,7 @@
- + diff --git a/src/views/ConfigurationVideoView.vue b/src/views/ConfigurationVideoView.vue index 88ca4ffcb..231814feb 100644 --- a/src/views/ConfigurationVideoView.vue +++ b/src/views/ConfigurationVideoView.vue @@ -85,20 +85,46 @@ class="max-w-[90%] bg-slate-100/30 rounded-lg p-3 border" :class="temporaryDbSize === 0 ? 'mb-10' : 'mb-0'" > + - +