Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/jpeg_camera_html5.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,13 @@ if navigator.getUserMedia
(stream) ->
that._remove_message()

if window.URL
that.video.src = URL.createObjectURL stream
#patch for FF 62
if typeof that.video.srcObject is "object"
that.video.srcObject = stream
else if window.URL
that.video.src = URL.createObjectURL stream
else
that.video.src = stream
that.video.src = stream

that._block_element_access()

Expand Down