Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ui): allow video/audio controls to be draggable

Louis Beaumontb4f2425af835
diff --git a/screenpipe-app-tauri/app/globals.css b/screenpipe-app-tauri/app/globals.css
index 2c0987faa..1d009dbdf 100644
--- a/screenpipe-app-tauri/app/globals.css
+++ b/screenpipe-app-tauri/app/globals.css
@@ -243,6 +243,25 @@
draggable: false;
}
+ /* Allow video/audio controls to work normally */
+ video, audio {
+ -webkit-user-drag: auto !important;
+ user-select: auto !important;
+ }
+
+ video::-webkit-media-controls,
+ video::-webkit-media-controls-enclosure,
+ video::-webkit-media-controls-panel,
+ video::-webkit-media-controls-timeline,
+ audio::-webkit-media-controls,
+ audio::-webkit-media-controls-enclosure,
+ audio::-webkit-media-controls-panel,
+ audio::-webkit-media-controls-timeline {
+ -webkit-user-drag: auto !important;
+ pointer-events: auto !important;
+ user-select: auto !important;
+ }
+
.scrollbar-hide {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */