Справка MediaWiki API
Это автоматически сгенерированная страница документации MediaWiki API.
Документация и примеры: https://www.mediawiki.org/wiki/API
action=embedvideo
(main | embedvideo)
- Этот модуль требует прав на чтение.
- Источник: EmbedVideo
- Лицензия: MIT
Get generated video 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)