This commit is contained in:
Timothy J. Baek
2024-06-12 11:44:05 -07:00
parent 90dadf0bec
commit 1fefafb254
2 changed files with 3 additions and 2 deletions

View File

@@ -626,7 +626,8 @@
<button
class=" p-3 rounded-full bg-gray-50 dark:bg-gray-900"
type="button"
on:click={() => {
on:click={async () => {
await navigator.mediaDevices.getUserMedia({ video: true });
startCamera();
}}
>