Trợ giúp về API MediaWiki

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)
  • This module is internal or unstable. Its operation may change without notice.
  • Mô đun này cần quyền đọc.
  • Source: Bộ xử lý phụ đề
  • License: GPL-2.0-or-later

Provides timed text content for usage by <track> elements

Các tham số:
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

One of the following values: srt, vtt
lang

The language of the timed text to retrieve

Ví dụ:
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]