HTML5 audio starts from the wrong position in Firefox

后端 未结 5 1010
栀梦
栀梦 2021-01-04 12:09

I\'m trying to play an mp3 file and I want to jump to specific location in the file. In Chrome 33 on Windows, the file jumps the correct position (as compared with VLC play

5条回答
  •  猫巷女王i
    2021-01-04 12:20

    The problem lies in the VBR encoding of the mp3.

    Download that mp3 to disk and convert it to fixed bit rate, say with Audacity.

    Run the example from disk:

    
    
    

    and it works fine for me.

    So my suggestion for workaround is is to upload an alternative fixed-bit mp3 file in place of the one you are using. Then it should work in the current FFx.

提交回复
热议问题