MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / changeBitrate

Function changeBitrate

Code-Music/app.js:51–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51function changeBitrate(){
52 switch(selectBitrateElement.value){
53 case 'normal-128' :
54 return song.url.high;
55 case 'normal-64' :
56 return song.url.low;
57 default :
58 return;
59 }
60}
61getSong();
62selectBitrateElement.addEventListener('change', getSong);

Callers 1

displayInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected