usememos / memos

An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
https://usememos.com
MIT License
31k stars 2.33k forks source link

Not possible change start of audio sound #4036

Open azdolinski opened 5 days ago

azdolinski commented 5 days ago

Describe the bug

When i have attached mp3 file, it play sound normal.. but if i whant to jump to the middle of record - it is not working.

image

Steps to reproduce

  1. Attached any mp3 file to post
  2. Play mp3 file.. and try to move to the middle of audio sound

The version of Memos you're using.

v0.23.0

Screenshots or additional context

In Edit mode: image

RoccoSmit commented 5 days ago

Audio files use the browser's built in audio player for playback. i was not able to replicate this issue using Firefox, what browser are you using? Are you having this issue on other browsers as well?

azdolinski commented 5 days ago

Are you having this issue on other browsers as well?

I checked that on 2 PCs and 3 browsers: chrome, brave, edge

when i click play - i cant move stream, so i cant jump ie. to 1:00 minute of the record... or move even few secend forward my file info: image

And file / ziped: audio.zip

RoccoSmit commented 5 days ago

Still cant replicate, testing on Linux and Firefox

https://github.com/user-attachments/assets/e624bbce-7a45-4591-9732-2d9e731ff066

azdolinski commented 5 days ago

testing on Linux and Firefox

ok.. i connect from iOS/Safari and it is working fine.. So it looks like it dosnt work only under Windows clinet.

RoccoSmit commented 5 days ago

Looks like skip ahead is not supported on Chromium based browsers (Windows or Linux).

azdolinski commented 4 days ago

Looks like skip ahead is not supported on Chromium based browsers (Windows or Linux).

I have an affine setup that is working as expected on all browsers under Windows. So, it does not appear to be a 100% browser issue, but more of an implementation problem with how the MP3 file streaming component is set up, as it looks the same as in the memos.

image

im able stop / play and do ff (fast forward)

RoccoSmit commented 2 days ago

If I drag the mp3 file from my assets folder into a chromium browser it works as expected and when I navigate to the /file/resources/{id}/audio.mp3 memos url in the same browser it does not allow for skipping ahead.

I've had a quick look through the code, but this is outside of my current go/grpc understanding. Hopefully someone with a deeper understanding of this is able to help here