مساعدة API ميدياويكي

هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.

وثائق وأمثلة: https://www.mediawiki.org/wiki/API

action=embedvideo

(main | embedvideo)
  • هذه الوحدة تتطلب صلاحيات القراءة.
  • المصدر:EmbedVideo
  • الترخيص: MIT

Get generated video embed code for given parameters.

وسائط:
service

Name of the service (youtube, twitch, etc)

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)