Page MenuHomePhabricator

Support subtitles for audio files
Closed, ResolvedPublic


It seems that captions/subtitles for HTML5 audio is actually notoriously badly implemented in most browsers right now.. Truly a shame that we will once again have to fallback to non-native behaviors if we will want to support this. :(

Event Timeline

TheDJ raised the priority of this task from to Low.
TheDJ updated the task description. (Show Details)
TheDJ added a subscriber: TheDJ.

This is one of the reasons why i'm considering just always using the <video> element instead, as discussed in P2461#10676

Wrote something that will support this. Still need to turn it into a plugin:

Change 511106 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/TimedMediaHandler@master] TimedText: Add a audio captioning plugin for video.js

Note to self, there is a WebVTT acid test on
We'll probably want to incorporate that into our testing.

Change 511106 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] TimedText: Add a audio captioning plugin for video.js

TheDJ claimed this task.
TheDJ moved this task from To sort to Done on the TimedMediaHandler board.
TheDJ removed a project: Patch-For-Review.

While perhaps not perfect, this should get us by for now. Further issues can be filed separately.