MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=timedtext

(main | timedtext)
  • Questo modulo è interno o instabile. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: TimedMediaHandler
  • Licenza: GPL-2.0-or-later

Provides timed text content for usage by <track> elements

Parametri specifici:
Sono disponibili altri parametri generali.
title

The media file title for which to retrieve timed text

pageid

The pageid of the media file for which to retrieve timed text

Type: integer
trackformat

The file format in which to return timed text

This parameter is required.
Uno dei seguenti valori: srt, vtt
lang

The language of the timed text to retrieve

Esempio:
Fetch an SRT subtitle file in German for the file Example.ogv
api.php?action=timedtext&title=File:Example.ogv&lang=de&trackformat=vtt [apri in una sandbox]