Skip to content

Commit a48312e

Browse files
adriangoranssongruhn
authored andcommitted
Remove programmatically set <video> attributes
Attributes added as HTML in 1a86437
1 parent 946785a commit a48312e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/misc/camera.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ export default async function (constraints, videoEl) {
4040
videoEl.src = stream
4141
}
4242

43-
videoEl.playsInline = true
44-
videoEl.play() // firefox does not emit `loadeddata` if video not playing
45-
4643
await streamLoaded
4744

4845
return new Camera(videoEl, stream)

0 commit comments

Comments
 (0)