Open bvibber opened 7 years ago
@brion I'm seeing this behaviour, on safari and chrome, not firefox. It's slightly different for both, but both have issues when pausing and playing again
@brion here is a repo that reproduces it, https://github.com/rtman/ogv-test. I tried to make a codesandbox but couldn't get ogv to work in that env.
In the repo I'm testing html5 audio vs ogv, in a couple scenarios. SingleInstance where I reuse the player for multiple files and MultiInstance where i set a player for each file.
Are there any options that need set to avoid this behaviour? Or perhaps any workaround?
@brion I just realized this issue is present in your demo on safari.
I imagine that you aren't keen on fixing this since this issue was opened in 2017, but if you are that would be amazing. This lib does work well, but these glitches are keeping it from being a real solution imo.
I came across this as well. Pressing pause and play again, will repeat the previous audio for 1 second.
No guarantees but I'll keep it in mind for my next maintenance pass -- i think I can make a lot of cleanup in the audio code now that I no longer need a Flash backup path which imposed certain awkwardness. :)
Thanks! I did a demo that uses OGV.js as fallback when audio/webm; codecs="opus"
is not supported. It works perfect, but the repetition makes the UX a bit flawed.
https://kasperkamperman.com/dev/ogvfallback/
Already-decoded audio doesn't seem to clear out when seeking:
Expected results:
Actual results: