我有:
this.wavesurfer = WaveSurfer.create({
container: "#wavesurfer-player",
height: 50,
audioContext: _.get(this.$store, "state.audioContext.context"),
waveColor: "blue",
progressColor: "red"
});
this.wavesurfer.on("loading", progress => {
this.loadingProgress = progress;
});
this.wavesurfer.load(this.url);
this.wavesurfer.on("ready", () => {
this.loadingProgress = 100;
this.wavesurfer.un("ready");
});
我在做什么错了?
答案 0 :(得分:0)
将它们设置为相同的颜色似乎可以解决此问题:
waveColor: "blue",
progressColor: "red"