MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=embedvideo

(main | embedvideo)
  • Denna modul kräver läsrättigheter.
  • Source: EmbedVideo
  • License: MIT

Get generated embed code for given parameters

Parametrar:
service

Name of the service (youtube, twitch, ect)

Denna parameter är obligatorisk.
id

The ID of the video for that service

Denna parameter är obligatorisk.
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)