MediaWiki API 帮助

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

文档和例子:-{R|https://www.mediawiki.org/wiki/API:Main_page/zh}-

action=embedvideo

main | embedvideo
  • 此模块需要读取权限。
  • 来源:EmbedVideo
  • 许可协议:MIT

Get generated video embed code for given parameters.

参数:
service

Name of the service (youtube, twitch, ect)

This parameter is required.
id

The ID of the video for that service

This parameter is required.
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)