Howler.Blazor icon indicating copy to clipboard operation
Howler.Blazor copied to clipboard

Howl.Seek() does not work as expected

Open LordBenjamin opened this issue 3 years ago • 3 comments

Calling Howl.Seek(TimeSpan) does not seek to the expected position - instead, it essentially restarts the audio clip from the beginning.

~I believe that the code below should use position.TotalMilliseconds rather than position.TotalSeconds?~

public ValueTask Seek(int soundId, TimeSpan position)
{
    return _runtime.InvokeVoidAsync("howl.seek", soundId, position.TotalSeconds);
}

LordBenjamin avatar May 14 '22 23:05 LordBenjamin

I take it back - this appears to be something inside howler.js itself!

LordBenjamin avatar May 15 '22 00:05 LordBenjamin

@LordBenjamin Is this issue also addressed in howler.js ?

StefH avatar Oct 17 '22 06:10 StefH

Having the same issue on iOS (HTML5 true) only causing the audio to restart.

jihadkhawaja avatar Oct 28 '22 08:10 jihadkhawaja