راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شدهاست.
مستندات و نمونهها: 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, etc)
- این پارامتر الزامی است.
- 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)