MediaWiki API 帮助

这是自动生成的MediaWiki API文档页面。

文档和例子:https://www.mediawiki.org/wiki/API:Main_page/zh

action=embedvideo

main | embedvideo
  • 此模块需要读取权限。
  • 来源: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)