Open thefubon opened 1 year ago
I found it in the original, but I don't know how to add it to Vue
var elms = ['track', 'timer', 'duration', 'playBtn', 'pauseBtn', 'prevBtn', 'nextBtn', 'playlistBtn', 'volumeBtn', 'progress', 'bar', 'wave', 'loading', 'playlist', 'list', 'volume', 'barEmpty', 'barFull', 'sliderBtn'];
onload: function() {
// Start the wave animation.
wave.container.style.display = 'block';
bar.style.display = 'none';
loading.style.display = 'none';
},
// Show the pause button.
if (sound.state() === 'loaded') {
playBtn.style.display = 'none';
pauseBtn.style.display = 'block';
} else {
loading.style.display = 'block';
playBtn.style.display = 'none';
pauseBtn.style.display = 'none';
}
Hello. Please tell me how to make Loader as an additional color in the srollbar of the track. Or when I press play instead of it appeared spinner and the field as the track is loaded appeared an icon pause?