ТХАБ:Как вставить видео? — различия между версиями

Материал из ТХАБ.РФ
Перейти к: навигация, поиск
(Новая страница: «Из ссылки на видео на Ютюбе надо вставить в шаблон хеш <nowiki> {{#ev:youtube|Это ХЕШ -> pSsYTj9kCHE <- Это…»)
 
м (Поддерживаются видео сервисы)
Строка 7: Строка 7:
 
== Поддерживаются видео сервисы ==
 
== Поддерживаются видео сервисы ==
  
 +
В версии расширения 2.x, EmbedVideo поддерживается встраивание видео со следующих видео хостингов (VK.COM - нет :( ) :
  
 +
{| class="wikitable"
 +
|-
 +
! Site
 +
! colspan="2"|Service Name(s)
 +
! ID Example
 +
! URL Example(s)
 +
|-
 +
! [https://archive.org/details/movies Archive.org Videos]
 +
| colspan="2"|<tt>archiveorg</tt>
 +
| <nowiki>electricsheep-flock-244-80000-6</nowiki>
 +
| <nowiki>https://archive.org/details/electricsheep-flock-244-80000-6</nowiki>
 +
  <nowiki>https://archive.org/embed/electricsheep-flock-244-80000-6</nowiki>
 +
|-
 +
! [http://bambuser.com/ Bambuser]
 +
| <tt>bambuser</tt> - Broadcasts
 +
| <tt>bambuser_channel</tt> - Channels
 +
| <nowiki>5262334</nowiki>
 +
| <nowiki>http://bambuser.com/v/5262334</nowiki>
 +
|-
 +
! [https://beam.pro/ Beam]
 +
| colspan="2"|<tt>beam</tt> - Streams
 +
| <nowiki>RocketBear</nowiki>
 +
| <nowiki>https://beam.pro/RocketBear</nowiki>
 +
|-
 +
! [http://www.bing.com/videos/ Bing]
 +
| colspan="2"|<tt>bing</tt>
 +
| <nowiki>31ncp9r7l</nowiki>
 +
| <nowiki>http://www.bing.com/videos/watch/video/adorable-cats-attempt-to-eat-invisible-tuna/31ncp9r7l</nowiki>
 +
|-
 +
! [http://www.blip.tv/ Blip.tv]
 +
| colspan="2"|<tt>blip</tt> - Blip requires the full URL to the video page and does not accept the raw ID.
 +
|
 +
|<nowiki>http://blip.tv/vinylrewind/review-6864612</nowiki>
 +
|-
 +
! [http://www.collegehumor.com/ CollegeHumor]
 +
| colspan="2"|<tt>collegehumor</tt>
 +
| <nowiki>6875289</nowiki>
 +
| <nowiki>http://www.collegehumor.com/video/6875289/batman-says-his-goodbyes</nowiki>
 +
|-
 +
! [http://www.dailymotion.com/ Dailymotion]
 +
| colspan="2"|<tt>dailymotion</tt>
 +
| <nowiki>x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms</nowiki>
 +
| <nowiki>http://www.dailymotion.com/video/x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms</nowiki>
 +
|-
 +
! [http://tvpot.daum.net/ Daum TVPot]
 +
| colspan="2"|<tt>tvpot</tt> - Obtain the URL or ID from the share menu URL.
 +
| <nowiki>s9011HdLzYwpLwBodQzCHRB</nowiki>
 +
| <nowiki>http://tvpot.daum.net/v/s9011HdLzYwpLwBodQzCHRB</nowiki>
 +
|-
 +
! [http://www.divshare.com Div Share]
 +
| colspan="2"|<tt>divshare</tt>
 +
|
 +
|
 +
|-
 +
! [http://edutopia.org Edutopia]
 +
| colspan="2"|Edutopia content moved to YouTube.  Please use the youtube service selector below.
 +
|
 +
|
 +
|-
 +
! [http://www.funnyordie.com/ FunnyOrDie]
 +
| colspan="2"|<tt>funnyordie</tt>
 +
| <nowiki>c61fb67ac9</nowiki>
 +
| <nowiki>http://www.funnyordie.com/videos/c61fb67ac9/to-catch-a-predator-elastic-heart-edition</nowiki>
 +
|-
 +
! [http://gfycat.com/ Gfycat]
 +
| colspan="2"|<tt>gfycat</tt>
 +
| <nowiki>BruisedSilentAntarcticfurseal</nowiki>
 +
| <nowiki>http://www.gfycat.com/BruisedSilentAntarcticfurseal</nowiki>
 +
|-
 +
! [http://www.hitbox.tv/ Hitbox]
 +
| colspan="2"|<tt>hitbox</tt>
 +
| <nowiki>Washuu</nowiki>
 +
| <nowiki>http://www.hitbox.tv/Washuu</nowiki>
 +
|-
 +
! [http://www.kickstarter.com/ Kickstarter]
 +
| colspan="2"|<tt>kickstarter</tt>
 +
| <nowiki>elanlee/exploding-kittens</nowiki>
 +
| <nowiki>https://www.kickstarter.com/projects/elanlee/exploding-kittens</nowiki>
 +
|-
 +
! [http://www.metacafe.com/ Metacafe]
 +
| colspan="2"|<tt>metacafe</tt>
 +
| <nowiki>11404579</nowiki>
 +
| <nowiki>http://www.metacafe.com/watch/11404579/lan_party_far_cry_4/</nowiki>
 +
|-
 +
! [http://www.nicovideo.jp/ Nico Nico Video]
 +
| colspan="2"|<tt>nico</tt>
 +
| <nowiki>sm24394325</nowiki>
 +
| <nowiki>http://www.nicovideo.jp/watch/sm24394325</nowiki>
 +
|-
 +
! [http://rutube.ru/ RuTube]
 +
| colspan="2"|<tt>rutube</tt>
 +
| <nowiki>b698163ccb67498db74d50cb0f22e556</nowiki>
 +
| <nowiki>http://rutube.ru/video/b698163ccb67498db74d50cb0f22e556/</nowiki>
 +
|-
 +
! [http://teachertube.com TeacherTube]
 +
| colspan="2"|<tt>teachertube</tt>
 +
| <nowiki>370511</nowiki>
 +
| <nowiki>http://www.teachertube.com/video/thats-a-noun-sing-along-hd-version-370511</nowiki>
 +
|-
 +
! [http://www.ted.com/talks/browse/ TED Talks]
 +
| colspan="2"|<tt>ted</tt>
 +
| <nowiki>bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war</nowiki>
 +
| <nowiki>http://www.ted.com/talks/bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war</nowiki>
 +
|-
 +
! [http://www.tudou.com/ Tudou]
 +
| colspan="2"|<tt>tudou</tt>
 +
| <nowiki>mfQXfumwiew</nowiki>
 +
| <nowiki>http://www.tudou.com/listplay/mfQXfumwiew.html</nowiki>
 +
|-
 +
! [http://www.twitch.tv Twitch]
 +
| <tt>twitch</tt> - Live Streams
 +
| <tt>twitchvod</tt> - Archived Videos on Demand
 +
| <nowiki>twitchplayspokemon</nowiki>
 +
| <nowiki>http://www.twitch.tv/twitchplayspokemon</nowiki>
 +
|-
 +
! [http://89.160.51.62/recordme/spelain.htm Videomaten]
 +
| colspan="2"|<tt>videomaten</tt>
 +
|
 +
|
 +
|-
 +
! [http://www.vimeo.com Vimeo]
 +
| colspan="2"|<tt>vimeo</tt>
 +
| <nowiki>105035718</nowiki>
 +
| <nowiki>http://vimeo.com/105035718</nowiki>
 +
|-
 +
! [http://vine.co Vine]
 +
| colspan="2"|<tt>vine</tt>
 +
| <nowiki>h2B7WMtuX2t</nowiki>
 +
| <nowiki>https://vine.co/v/h2B7WMtuX2t</nowiki>
 +
|-
 +
! [http://screen.yahoo.com/ Yahoo Screen]
 +
| colspan="2"|<tt>yahoo</tt>
 +
| <nowiki>katy-perry-dances-sharks-2015-024409668</nowiki>
 +
| <nowiki>https://screen.yahoo.com/videos-for-you/katy-perry-dances-sharks-2015-024409668.html</nowiki>
 +
|-
 +
! [http://www.youtube.com/ YouTube]
 +
| <tt>youtube</tt> - Single Videos
 +
| <tt>youtubeplaylist</tt> - Playlists
 +
| <nowiki>pSsYTj9kCHE</nowiki>
 +
| <nowiki>https://www.youtube.com/watch?v=pSsYTj9kCHE</nowiki>
 +
  <nowiki>https://www.youtube.com/watch?v=CW_PbErQ_c8&list=PL76E80C7F756A2047</nowiki>
 +
|-
 +
! [http://www.youku.com/ Youku]
 +
| colspan="2"|<tt>youku</tt>
 +
| <nowiki>XODc3NDgzMTY4</nowiki>
 +
| <nowiki>http://v.youku.com/v_show/id_XODc3NDgzMTY4.html</nowiki>
 +
|-
 +
|}
  
 
== Ссылки ==
 
== Ссылки ==

Версия 13:00, 22 января 2016

Из ссылки на видео на Ютюбе надо вставить в шаблон хеш

{{#ev:youtube|Это ХЕШ -> pSsYTj9kCHE <- Это ХЕШ }}

{{#ev:youtube|pSsYTj9kCHE}}

Поддерживаются видео сервисы

В версии расширения 2.x, EmbedVideo поддерживается встраивание видео со следующих видео хостингов (VK.COM - нет :( ) :

Site Service Name(s) ID Example URL Example(s)
Archive.org Videos archiveorg electricsheep-flock-244-80000-6 https://archive.org/details/electricsheep-flock-244-80000-6
 https://archive.org/embed/electricsheep-flock-244-80000-6
Bambuser bambuser - Broadcasts bambuser_channel - Channels 5262334 http://bambuser.com/v/5262334
Beam beam - Streams RocketBear https://beam.pro/RocketBear
Bing bing 31ncp9r7l http://www.bing.com/videos/watch/video/adorable-cats-attempt-to-eat-invisible-tuna/31ncp9r7l
Blip.tv blip - Blip requires the full URL to the video page and does not accept the raw ID. http://blip.tv/vinylrewind/review-6864612
CollegeHumor collegehumor 6875289 http://www.collegehumor.com/video/6875289/batman-says-his-goodbyes
Dailymotion dailymotion x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms http://www.dailymotion.com/video/x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms
Daum TVPot tvpot - Obtain the URL or ID from the share menu URL. s9011HdLzYwpLwBodQzCHRB http://tvpot.daum.net/v/s9011HdLzYwpLwBodQzCHRB
Div Share divshare
Edutopia Edutopia content moved to YouTube. Please use the youtube service selector below.
FunnyOrDie funnyordie c61fb67ac9 http://www.funnyordie.com/videos/c61fb67ac9/to-catch-a-predator-elastic-heart-edition
Gfycat gfycat BruisedSilentAntarcticfurseal http://www.gfycat.com/BruisedSilentAntarcticfurseal
Hitbox hitbox Washuu http://www.hitbox.tv/Washuu
Kickstarter kickstarter elanlee/exploding-kittens https://www.kickstarter.com/projects/elanlee/exploding-kittens
Metacafe metacafe 11404579 http://www.metacafe.com/watch/11404579/lan_party_far_cry_4/
Nico Nico Video nico sm24394325 http://www.nicovideo.jp/watch/sm24394325
RuTube rutube b698163ccb67498db74d50cb0f22e556 http://rutube.ru/video/b698163ccb67498db74d50cb0f22e556/
TeacherTube teachertube 370511 http://www.teachertube.com/video/thats-a-noun-sing-along-hd-version-370511
TED Talks ted bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war http://www.ted.com/talks/bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war
Tudou tudou mfQXfumwiew http://www.tudou.com/listplay/mfQXfumwiew.html
Twitch twitch - Live Streams twitchvod - Archived Videos on Demand twitchplayspokemon http://www.twitch.tv/twitchplayspokemon
Videomaten videomaten
Vimeo vimeo 105035718 http://vimeo.com/105035718
Vine vine h2B7WMtuX2t https://vine.co/v/h2B7WMtuX2t
Yahoo Screen yahoo katy-perry-dances-sharks-2015-024409668 https://screen.yahoo.com/videos-for-you/katy-perry-dances-sharks-2015-024409668.html
YouTube youtube - Single Videos youtubeplaylist - Playlists pSsYTj9kCHE https://www.youtube.com/watch?v=pSsYTj9kCHE
 https://www.youtube.com/watch?v=CW_PbErQ_c8&list=PL76E80C7F756A2047
Youku youku XODc3NDgzMTY4 http://v.youku.com/v_show/id_XODc3NDgzMTY4.html

Ссылки