MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

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)