Skip to content

Commit

Permalink
fix: fix player icon in offline mode
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish committed Jul 16, 2024
1 parent 68885f3 commit 9bfb478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AudioPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
mounted() {
this.$refs.plyr.player.volume = this.volume;
this.$refs.plyr.player.muted = this.muted;
this.$refs.plyr.player.iconUrl = '/assets/plyr.svg';
this.$refs.plyr.player.iconUrl = '@/../assets/plyr.svg';
this.$refs.plyr.player.on('ended', () => {
this.currentIndex += 1;
if (this.currentIndex >= this.$props.list.length) {
Expand Down

0 comments on commit 9bfb478

Please sign in to comment.