|
@@ -738,7 +738,7 @@ export default {
|
|
|
if (this.audioPlayer && !this.audioPlayer.ended) {
|
|
|
this.audioPlayer.pause()
|
|
|
}
|
|
|
- this.audioPlayer = new Audio('https://culture.4dage.com/one_day_in_southern_song_dynasty_cn_de/media/%E5%8D%88-%E5%8F%A4%E7%90%B4.252acfee.mp3') // todo
|
|
|
+ this.audioPlayer = new Audio(require(`@/assets/audios/reading/${this.elemAudioId}.mp3`))
|
|
|
this.audioPlayer.muted = this.ariaSettings.isMuted
|
|
|
this.audioPlayer.playbackRate = speechRateFactors[this.ariaSettings.speechRateLevel]
|
|
|
this.audioPlayer.oncanplaythrough = () => {
|