MCPcopy Create free account
hub / github.com/codemistic/Web-Development / seekTo

Function seekTo

Music App/index.js:136–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 playTrack();
135}
136function seekTo(){
137 let seekto = curr_track.duration * (seek_slider.value / 100);
138 curr_track.currentTime = seekto;
139}
140function setUpdate(){
141 let seekPosition = 0;
142 if(!isNaN(curr_track.duration)){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected