Довідка API MediaWiki

Це автоматично генерована сторінка документації API MediaWiki.

Документація та приклади: https://www.mediawiki.org/wiki/API

action=embedvideo

(mainembedvideo)
  • Цей модуль вимагає прав на читання.
  • Джерело: EmbedVideo
  • Ліцензія: MIT

Get generated embed code for given parameters

Параметри:
service

Name of the service (youtube, twitch, ect)

Цей параметр є обов'язковим.
id

The ID of the video for that service

Цей параметр є обов'язковим.
dimensions

Either a numeric width (100) or width by height (100x100)

alignment

Alignment of video

description

Description of video

container

Accepts frame, or leave empty

urlargs

Additional arguments to pass in the video url (for some services)

autoresize

Auto resize video? (true or false)