MediaWiki API 說明

此頁為自動產生的 MediaWiki API 說明文件頁面。

說明文件與範例:https://www.mediawiki.org/wiki/API

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)