Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

undo landscape thing, it breaks label positions

roryclear5feba6f7a84f
diff --git a/clearcam/player.html b/clearcam/player.html
index ea3c3b8..1a7d80f 100644
--- a/clearcam/player.html
+++ b/clearcam/player.html
@@ -3,34 +3,22 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <style>
- #videoContainer {
- position: relative;
- width: 100%;
- max-width: 640px;
- background: black;
- aspect-ratio: 4 / 3;
- max-height: 100vh; /* Ensure the container does not exceed the viewport height */
- overflow: hidden; /* Prevents overflow when the aspect ratio is applied */
- }
-
- .video-wrapper {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 100%;
- }
-
- .videoPlayer {
- width: 100%;
- height: auto; /* Adjust height to maintain aspect ratio */
- }
-
- #videoContainer:hover #controls {
- opacity: 1;
- }
-
+ <style>
+ #videoContainer {
+ position: relative;
+ width: 100%;
+ max-width: 640px;
+ background: black;
+ aspect-ratio: 4 / 3;
+ }
+ #videoContainer:hover #controls {
+ opacity: 1;
+ }
+ .video-wrapper {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ }
video {
position: absolute;
width: 100%;
@@ -980,3 +968,4 @@
</script>
</body>
</html>
+