Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=timedtext
(main | timedtext)
- Este módulo es interno o inestable. Su funcionamiento puede cambiar sin previo aviso.
- Este módulo requiere permisos de lectura.
- Fuente: TimedMediaHandler
- Licencia: GPL-2.0-or-later
Proporciona contenido de texto cronometrado para su uso por parte de elementos <track>
Parámetros específicos:
Other general parameters are available.
- title
The media file title for which to retrieve timed text
- pageid
The pageid of the media file for which to retrieve timed text
- Tipo: entero
- trackformat
The file format in which to return timed text
- Este parámetro es obligatorio.
- Uno de los siguientes valores: srt, vtt
- lang
The language of the timed text to retrieve
Ejemplo:
- Fetch an SRT subtitle file in German for the file Example.ogv
- api.php?action=timedtext&title=File:Example.ogv&lang=de&trackformat=vtt [abrir en la zona de pruebas]