Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

action=timedtext

(main | timedtext)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • Извор: TimedMediaHandler
  • Лиценца: GPL-2.0-or-later

Provides timed text content for usage by <track> elements

Параметри:
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.
One of the following values: srt, vtt
lang

The language of the timed text to retrieve

Пример:
Fetch an SRT subtitle file in German for the file Example.ogv
api.php?action=timedtext&title=File:Example.ogv&lang=de&trackformat=vtt [open in sandbox]