Skip to content

Commit b16aa66

Browse files
committed
Update 3.read-video-with-external-control.html
1 parent 3e43504 commit b16aa66

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,7 @@ <h2>Use External Controllers</h2>
124124
}catch(ex){
125125
alert('Play video failed: ' + (ex.message || ex));
126126
}
127-
updateCurrentResolution({
128-
width: currentRes[0],
129-
height: currentRes[1]
130-
});
127+
updateCurrentResolution(currentRes);
131128
}
132129
};
133130
document.getElementById('resolutionList').onchange = async function () {

0 commit comments

Comments
 (0)