diff --git a/examples/change-image-input.html b/examples/change-image-input.html
new file mode 100644
index 00000000..cd766e8d
--- /dev/null
+++ b/examples/change-image-input.html
@@ -0,0 +1,181 @@
+
+
+
+
+ Image Input Example - Record Plugin for Video.js
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/js/videojs.record.js b/src/js/videojs.record.js
index 9537af2d..c33aeedb 100644
--- a/src/js/videojs.record.js
+++ b/src/js/videojs.record.js
@@ -1827,6 +1827,9 @@ class Record extends Plugin {
this.recordVideo = {
deviceId: {exact: deviceId}
};
+ } else if (this.recordImage === Object(this.recordImage)) {
+ // already using image constraints
+ this.recordImage.deviceId = {exact: deviceId};
}
// release existing device