MediaWiki API hulp

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)
  • Deze module is voor intern gebruik of nog niet stabiel. De functionaliteit kan zonder enige voorafgaande melding wijzigen.
  • Voor deze module zijn leesrechten nodig.
  • Bron: TimedMediaHandler
  • Licentie: GPL-2.0-or-later

Provides timed text content for usage by <track> elements

Specifieke parameters:
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

Type: integer
trackformat

The file format in which to return timed text

Deze parameter is vereist.
Een van de volgende waarden: srt, vtt
lang

The language of the timed text to retrieve

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