File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ <h1 id="game-status"></h1>
36
36
< label >
37
37
video quality: < span id ="video-quality "> </ span >
38
38
< br />
39
- < input type ="range " min ="1 " max ="16 " id ="video-bitrate " value ="2 ">
39
+ < input type ="range " min ="1 " max ="80 " id ="video-bitrate " value ="2 ">
40
40
</ label >
41
41
</ div >
42
42
</ div >
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ export class Home {
73
73
function changeBitrate ( ) {
74
74
const value = + videoBitrate . value ;
75
75
const short = value < 4 ? "low"
76
- : value < 8 ? "medium"
77
- : value < 12 ? "high"
76
+ : value < 12 ? "medium"
77
+ : value < 20 ? "high"
78
78
: "ultra" ;
79
79
const qualityText = document . getElementById ( 'video-quality' ) ! ;
80
80
qualityText . innerText = videoBitrate . title = `${ short } - ${ videoBitrate . value } Mbps` ;
You can’t perform that action at this time.
0 commit comments