User:TheDJ/Sandbox

Subtitle api output design:

The following is a design of the output of the API for subtitles. It is not meant to be fully implemented, at the very least not initially, but is intended to be so comprehensive that the initial design will be future-proof

list
action=subtitles&title=File:test.ogv&subprop=list

en   nl

Types: caption; hearing impaired; forced;

specific
actions=subtitle&title=File:test.ogv&lang=


 * Type defaults to caption
 * Optional: canvas

CSS styling info   Line1 Line2

 File:test.jpg  Hi! This is a small sample, let's sing a song.   La! La! La! Karokeeeeeeeee is fun !