diff --git a/bricks/camera.js b/bricks/camera.js index fcc2f09..e6e20a3 100644 --- a/bricks/camera.js +++ b/bricks/camera.js @@ -25,7 +25,7 @@ bricks.Camera = class extends bricks.Popup { if (this.opts.type == 'recorder'){ this.record_status == 'standby'; var shot_btn = new bricks.Svg({ - url: bricks_resource('imgs/start_recording.svg'), + url: bricks_resource('imgs/switch_recording.svg'), tip: 'Start record video', margin: '10px', rate: 2.5 diff --git a/bricks/input.js b/bricks/input.js index 8f67608..8db4c66 100644 --- a/bricks/input.js +++ b/bricks/input.js @@ -567,7 +567,7 @@ bricks.UiVideo =class extends bricks.UiFile { this.camera_w.bind('click', this.open_recorder.bind(this)); this.preview = new bricks.VBox({width: '100%'}); this.add_widget(this.preview); - this.bind('changed', this.show_image.bind(this)); + this.bind('changed', this.show_video.bind(this)); } open_recorder(event){ event.stopPropagation();