Howler.js: cant resume audio when set html5 to true

Created on 25 Apr 2018  路  6Comments  路  Source: goldfire/howler.js

hi
i cant resume the audio when i set the html5 to true .
why is that?

```
var sound = new Howl({
src: [$this.music.url],
loop: true,
volume: .7,
html5: true,
})
playOrPause(sound,id) {

            if (sound.playing(id))
                sound.pause(id)
            else
                this.sound.play(id);

}

Most helpful comment

Have the same issue on Chrome.

All 6 comments

Can you provide a test case? I just tested what you described and it worked correctly. Also, are you seeing this on a specific browser/device?

Can you provide a test case? I just tested what you described and it worked correctly. Also, are you seeing this on a specific browser/device?

Hi, I have the same issue on Chrome. I set html5 true, streamingly push audio to howler. When I pause, it cannot resume playing from where it is paused, it always starts from the beginning. Do you have any suggestion?

Have the same issue on Chrome.

Same issue here.
Google Chrome: Version 79.0.3945.88 (Official Build) (64-bit)
Issue appears only with html5 to true

Same issue here.. Just noticed it was html5: true that's the problem. Edge 85.0.564.63 (official build) (64 bit)

Tested the player example on same browser and it's working. I'm using webpack. Seems it's something to do with the audio

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bestander picture bestander  路  4Comments

FFankias picture FFankias  路  3Comments

jacobedawson picture jacobedawson  路  3Comments

Glutch picture Glutch  路  3Comments

jmeyers91 picture jmeyers91  路  4Comments