Ajuda da API do MediaWiki

Esta é uma página de documentação da API do MediaWiki gerada automaticamente.

Documentação e exemplos: https://www.mediawiki.org/wiki/API

action=embedvideo

(main | embedvideo)
  • Este módulo requer direitos de leitura.
  • Fonte: EmbedVideo
  • Licença: MIT

Get generated embed code for given parameters

Parâmetros:
service

Name of the service (youtube, twitch, ect)

Este parâmetro é obrigatório.
id

The ID of the video for that service

Este parâmetro é obrigatório.
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)