Spaces:
Running
Running
Commit
·
c87dd3b
1
Parent(s):
d864cc7
Update index.html
Browse files- index.html +5 -5
index.html
CHANGED
|
@@ -30,17 +30,17 @@
|
|
| 30 |
position: absolute;
|
| 31 |
top: 0;
|
| 32 |
left: 0;
|
| 33 |
-
width:
|
| 34 |
-
height:
|
| 35 |
background-color: rgba(255, 255, 255, 0.5);
|
| 36 |
pointer-events: none; /* Permite interactuar con elementos debajo */
|
| 37 |
}
|
| 38 |
</style>
|
| 39 |
</head>
|
| 40 |
<body>
|
| 41 |
-
<video width=
|
| 42 |
-
<div
|
| 43 |
-
<canvas width=
|
| 44 |
|
| 45 |
<script>
|
| 46 |
Promise.all([
|
|
|
|
| 30 |
position: absolute;
|
| 31 |
top: 0;
|
| 32 |
left: 0;
|
| 33 |
+
width: 100%;
|
| 34 |
+
height: 100%;
|
| 35 |
background-color: rgba(255, 255, 255, 0.5);
|
| 36 |
pointer-events: none; /* Permite interactuar con elementos debajo */
|
| 37 |
}
|
| 38 |
</style>
|
| 39 |
</head>
|
| 40 |
<body>
|
| 41 |
+
<video width=100% height=100% onloadedmetadata="onPlay(this)" autoplay muted playsinline id="camera"></video>
|
| 42 |
+
<div class="mask"></div>
|
| 43 |
+
<canvas width=100% height=100% id="overlay"></canvas>
|
| 44 |
|
| 45 |
<script>
|
| 46 |
Promise.all([
|