עזרה של MediaWiki API

זהו דף תיעוד של API שנוצר באופן אוטומטי.

תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API

action=timedtext

(main | timedtext)
  • היחידה הזאת היא פנימית או בלתי־יציבה. הפעולה שלה יכולה להשתנות ללא הודעה מוקדמת.
  • יחידה זו דורשת הרשאות קריאה.
  • מקור: 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

סוג: מספר שלם
trackformat

The file format in which to return timed text

אחד מהערכים הבאים: 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 [פתיחה בארגז חול]

הודפס מתוך מאגר הידע של דואלוג בכתובת: "https://doalogue.co.il/wiki/מיוחד:עזרת_API"

משותף תחת רישיון CC-BY 4.0. ניתן להפיץ באופן חופשי תוך מתן קרדיט לדואלוג וקישור למקור.