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 | |||
| Resolved | TheDJ | 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)
Change #1314824 had a related patch set uploaded (by TheDJ; author: TheDJ):
[mediawiki/vendor@master] Add hartman/vtt-vivid library for use in TimedMediaHandler
Change #1314824 merged by jenkins-bot:
[mediawiki/vendor@master] Add hartman/vtt-vivid library for use in TimedMediaHandler
Change #518128 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] TimedText: Add a WebVTT reader backed by the vtt-vivid library
Change #1319134 had a related patch set uploaded (by TheDJ; author: TheDJ):
[mediawiki/extensions/TimedMediaHandler@master] Captions: Add formoption for VTT/SRT when creating captions
Change #1319134 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Captions: Add form option for VTT/SRT when creating captions