Как се вмъква видео

от Администрация и управление
Направо към: навигация, търсене

Има няколко различни подхода за вмъкване на видео (или аудио) в статия.


Audio: .mp3 .ogg

Video: .mp4 (H.264) .webm (VP8) .mov (H.264 only) .ogv

Html5mediator can be used in two ways:

  • Media file as external URL
  • Media file previously uploaded to wiki

Html5mediator automatically figures out whether your file is an audio file or a video file based on the extension, so there is no need to specify the nature of your file a priori. As of version 0.1, you cannot set a custom video height or width; this functionality is planned for the 0.2 release. If there's enough demand for it, YouTube (et cetera) embedding will also be considered.


As of version 1.0, EmbedVideo supports embedding video content from the following services:

Site Service Name
Dailymotion dailymotion
Div Share divshare
Edutopia edutopia
FunnyOrDie funnyordie
Google Video googlevideo
Interia interia or interiavideo
sevenload sevenload
TeacherTube teachertube
YouTube youtube and youtubehd
Vimeo vimeo

The EmbedVideo parser function expects to be called in any of the following ways:









  • service is the name of a video sharing service (See "service name" in the list below)
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)
  • align (optional) is an alignment (float) attribute. May be "left" or "right".
  • desc (optional) is a short description to display beneath the video when it is aligned

For example, to include the famous "evolution of dance" YouTube video, you'd enter:


And if you wanted scaled down to thumbnail size, on the right with a short description, you could use:

{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}