Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
TimedText: VttReader | mediawiki/extensions/TimedMediaHandler | master | +1 K -5 |
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T158181 Aim for workflow equivalence for MediaWiki on desktop and mobile web | |||
Duplicate | None | T98491 TimedMediaHandler user experience is poor on mobile | |||
Resolved | TheDJ | T108277 Video closed captioning is available on desktop but not on mobile | |||
Open | None | T116154 Support WebVTT subtitling | |||
Resolved | • brooke | T111552 Create an API to serve subtitles | |||
Resolved | • brooke | T136033 Allow server side parsing of the subtitles |
Event Timeline
https://commons.wikimedia.org/wiki/TimedText:Big_Buck_Bunny_with_VTT_acid_test.webm.en.vtt
https://commons.wikimedia.org/wiki/File:Big_Buck_Bunny_with_VTT_acid_test.webm
HTTP 400:
https://commons.wikimedia.org/w/api.php?action=timedtext&title=File%3ABig_Buck_Bunny_with_VTT_acid_test.webm&lang=en&trackformat=vtt&origin=%2A
language not found...
new player test: https://test2.wikipedia.org/wiki/User:TheDJ
Need to add a VTT parser; currently there's only a SRT parser that produces VTT-compatible objects which we can output in either format. Shouldn't be hard to add, just didn't get to it yet for the MVP. :D
Change 518128 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/TimedMediaHandler@master] TimedText: VttReader
New PHP implementation of VTT parser that we could maybe use. https://github.com/podlove/webvtt-parser
Related issue (afaik): T368298 (e.g. currently videos imported with video2commons don't import subtitles if these are VTTs and they also aren't converted to srt and then imported or added to any maintenance cat)