开发者

Is there any way to use subtitles with mp3s? [closed]

开发者 https://www.devze.com 2023-01-13 05:40 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

Improve this question

I have some .mp3 files of conversations with really bad audio quality that I am displaying on a开发者_如何学编程 web page using JavaScript. I was wondering if there was an elegant solution to display these mp3s with subtitles.

I came across this jQuery plugin, which does something similar but using the <video> element.


Yes, you can use JW Player. It uses a Timed Text XML file to sync captions. It's free for non-commercial use and reasonably priced for commercial use.


Yes, you can present mp3 with its subtitles. The problem is.

  1. Save the subtitles in the .vvt file format.
  2. Create a subtitle box on your web page and
  3. write some javascript to show the subtitle as player plays.

And here is an example with an excerpt from the song Hot Stuff:

http://ndfbr.org/danh/music/mp3sub/testmp3.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号