[GH-ISSUE #1024] Audio no execute after page reload #614

Open
opened 2026-02-26 02:33:42 +03:00 by kerem · 3 comments
Owner

Originally created by @a21ns1g4ts on GitHub (Jul 20, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1024

Hello Guys.

Issue info:

  • You have read and followed closely the Wiki, Upgrade Guide, as well as Troubleshooting
  • The issue has not been reported before
  • This is not a "how to install on Windows" or "why is my npm messed up" question
  • You're a cool person

All checked? Now also make sure your issue

  • Is associated with a version. Or better yet, a commit.
  • Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?)
  • Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)
  • Is in English, 因为我不说中文。

Detected in: v3.7.0 and v3.7.2

After user reload page the sound no execute.
Steps to reproduce:
-Login into koel app.
-Go to all songs.
-Reproduce any music.
-Reload the page.
-Try execute a music again.
{without audio}

What is happen with this behavior ?

After reload page the DOM change and many things happen. In specific: The (audio) element can't be refer in source context ( const source = context.createMediaElementSource(player) ) [ equalizer.vue ] into equalizer init function. For now i disable the equalizer.

playback.js
//event.emit('equalizer:init', this.player.media)

site-footer index.vue

  <i v-if="useEqualizer"
      @click="showEqualizer = !showEqualizer"
      :class="{ active: showEqualizer }"/>
Originally created by @a21ns1g4ts on GitHub (Jul 20, 2019). Original GitHub issue: https://github.com/koel/koel/issues/1024 Hello Guys. Issue info: - [x] You have read and followed closely the [Wiki](https://koel.phanan.net/docs), [Upgrade Guide](https://github.com/phanan/koel/releases), as well as [Troubleshooting](https://koel.phanan.net/docs/#/troubleshooting) - [x] The issue has not been reported before - [x] This is not a "how to install on Windows" or "why is my npm messed up" question - [x] You're a cool person All checked? Now also make sure your issue - [x] Is associated with a version. Or better yet, a commit. - [x] Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?) - [ ] Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know) - [x] Is in English, 因为我不说中文。 Detected in: **v3.7.0** and **v3.7.2** After user reload page the sound no execute. Steps to reproduce: -Login into koel app. -Go to all songs. -Reproduce any music. -Reload the page. -Try execute a music again. {without audio} What is happen with this behavior ? After reload page the DOM change and many things happen. In specific: The (audio) element can't be refer in source context `( const source = context.createMediaElementSource(player) ) [ equalizer.vue ]` into equalizer init function. For now i disable the equalizer. playback.js `//event.emit('equalizer:init', this.player.media)` site-footer index.vue ```html <i v-if="useEqualizer" @click="showEqualizer = !showEqualizer" :class="{ active: showEqualizer }"/>
Author
Owner

@phanan commented on GitHub (Jul 21, 2019):

Can you provide OS and browser details?

<!-- gh-comment-id:513582692 --> @phanan commented on GitHub (Jul 21, 2019): Can you provide OS and browser details?
Author
Owner

@a21ns1g4ts commented on GitHub (Jul 21, 2019):

OS: Ubuntu 18.4
Browser:Google Chrome 74.0.3729.169

<!-- gh-comment-id:513584421 --> @a21ns1g4ts commented on GitHub (Jul 21, 2019): OS: Ubuntu 18.4 Browser:Google Chrome 74.0.3729.169
Author
Owner

@BrookeDot commented on GitHub (Jul 23, 2019):

I recently started to experience this only on my Android 8.1 device using either Brave or Firefox Focus as the browser.

Server is running Debian 10

<!-- gh-comment-id:514399946 --> @BrookeDot commented on GitHub (Jul 23, 2019): I recently started to experience this only on my Android 8.1 device using either Brave or Firefox Focus as the browser. Server is running Debian 10
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#614
No description provided.