Skip to content

Commit e50f663

Browse files
committed
2 parents 3556cf1 + 7f93dec commit e50f663

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

2.ui-tweaking/3.read-video-with-external-control.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ <h1>Customized UI</h1>
173173
} catch (ex) {
174174
alert('Play video failed: ' + (ex.message || ex));
175175
}
176-
updateCurrentResolution();
176+
updateOptions();
177177
}
178178
});
179179
}

2.ui-tweaking/5.read-video-with-custom-default-ui.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ <h1>Customized Default UI</h1>
190190
}
191191
// when option is selected
192192
function camOptionSelected(e) {
193-
// if (currentCamera.deviceId === e.target.id) {
194-
// return;
195-
// }
193+
if (currentCamera.deviceId === e.target.id) {
194+
return;
195+
}
196196
toggleMaskView();
197197
camSelectorInput.value = e.target.innerText;
198198
cameras.forEach(item => {

0 commit comments

Comments
 (0)