native upload
This commit is contained in:
parent
bef35052b1
commit
ec6ead0ff9
@ -10,7 +10,13 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<video autoplay></video>
|
<div>
|
||||||
|
<input type="file" accept="video/*" capture>
|
||||||
|
<input type="file" accept="video/*">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<video autoplay></video>
|
||||||
|
</div>
|
||||||
<script src="index.js"></script>
|
<script src="index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ function hasGetUserMedia() {
|
|||||||
function getDeviceAccess() {
|
function getDeviceAccess() {
|
||||||
const constraints = {
|
const constraints = {
|
||||||
video: true,
|
video: true,
|
||||||
audio: true
|
// audio: true
|
||||||
};
|
};
|
||||||
|
|
||||||
const video = document.querySelector("video");
|
const video = document.querySelector("video");
|
||||||
|
Loading…
Reference in New Issue
Block a user