Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion dist/jpeg_camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
success = function(stream) {
that._remove_message();
if (window.URL) {
that.video.src = URL.createObjectURL(stream);
that.video.srcObject = stream;
} else {
that.video.src = stream;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jpeg_camera_no_flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
success = function(stream) {
that._remove_message();
if (window.URL) {
that.video.src = URL.createObjectURL(stream);
that.video.srcObject = stream;
} else {
that.video.src = stream;
}
Expand Down
2 changes: 1 addition & 1 deletion src/jpeg_camera_html5.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if navigator.getUserMedia
that._remove_message()

if window.URL
that.video.src = URL.createObjectURL stream
that.video.srcObject = stream
else
that.video.src = stream

Expand Down
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/jpeg_camera/jpeg_camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
success = function(stream) {
that._remove_message();
if (window.URL) {
that.video.src = URL.createObjectURL(stream);
that.video.srcObject = stream;
} else {
that.video.src = stream;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
success = function(stream) {
that._remove_message();
if (window.URL) {
that.video.src = URL.createObjectURL(stream);
that.video.srcObject = stream;
} else {
that.video.src = stream;
}
Expand Down