diff --git a/sample/videoUploading/index.html b/sample/videoUploading/index.html index 7f712340..52f97c62 100644 --- a/sample/videoUploading/index.html +++ b/sample/videoUploading/index.html @@ -23,9 +23,8 @@ height: 100%; /* make body fill the browser window */ } canvas { - width: 100%; - height: 100%; - max-width: 100%; + width: min(100vw, 100vh); + aspect-ratio: 4 / 3; display: block; } @@ -34,5 +33,6 @@
+