Pomocník API MediaWiki

Toto je automaticky generovaná dokumentačná stránka MediaWiki Action API.

action=embedvideo

(main | embedvideo)
  • Tento modul vyžaduje práva na čítanie.
  • Zdroj: EmbedVideo
  • Licencia: MIT

Get generated video embed code for given parameters.

Konkrétne parametre:
K dispozícii sú aj ďalšie všeobecné parametre.
service

Name of the service (youtube, twitch, etc)

Tento parameter je povinný.
id

The ID of the video for that service

Tento parameter je povinný.
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)