Инструменты пользователя

Инструменты сайта


wiki:help:plugin:vshare

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
wiki:help:plugin:vshare [2015/03/26 15:28]
ссылки сделаны неактивными
wiki:help:plugin:vshare [2016/09/09 00:38]
change version of plugin
Строка 10: Строка 10:
 ===== Синтаксис и использование ===== ===== Синтаксис и использование =====
  
-The basic syntax looks like this: ''​%%{{%%//​videosite//>//​videoid//?//​size//​|title%%}}%%''​Where ''//​videosite//''​ is one of the identifiers listed ​below, ​and ''//​videoid//''​ is the identifier of the video at the respective siteThe ''//​size//'' ​parameter is optional. You can either give it in the form ''​//​width//​x//​height//​'' ​like ''​500x300'',​ or use the keywords ''​small'',​ ''​medium''​ or ''​large''​. The title is optional as well. The video can be aligned by adding spaces on the left or right inside the curly brackets (like in the image syntax).+The basic syntax looks like this: ''​%%{{%%//​videosite//>//​videoid//?//​parameter1&​parameter2//​|title%%}}%%''​ 
 +  * Where ''//​videosite//''​ is one of the identifiers listed ​in [[#​Supported Services]] chapter 
 +  * and ''//​videoid//''​ is the identifier of the video at the respective site 
 +  * The ''//​parameters//'' ​are optional. You start these with a ''​?'' ​and separate more of them by a ''​&''​. ​Look in [[#​Parameters]] chapter 
 +  * The title is optional as well. Look in [[#​Examples]] chapter 
 +  * The video can be aligned by adding spaces on the left or right inside the curly brackets (like in the image syntax). ​Look in [[#​Examples]] chapter
  
-A toolbar button pops up a prompt where you can simply paste the full URL to the page of the video you want to embed. The plugin will then try to figure out the video ID by itself.+A toolbar button pops up a prompt where you can simply paste the full URL to the page of the video you want to embed. The plugin will then try to figure out the video ID by itself 
 + 
 +=== Parameters === 
 + 
 +  * The ''//​size//''​ parameter is the best supported parameterYou can either give it in the form: 
 +    * ''//​width//​x//​height//''​ like ''​500x300''​ 
 +    * or use the keywords ''​small'',​ ''​medium''​ or ''​large''​ 
 +  * Some other additional parameters are supported (depending on video service) as well: 
 +    * Start point of video: ''&​start=<​seconds>''​ (YouTube, DailyMotion) or ''&​initial_time=<​seconds>''​ (TwitchTV) 
 +    * End point of video segment: ''&​end=<​seconds>''​ (YouTube) 
 +    * Auto play: ''&​autoplay=1''​ (Vimeo, YouTube, DailyMotion,​ Bambuser) or ''&​ap=1''​(MetaCafe) 
 +    * Do not show related videos when playback ends: ''&​rel=0''​ (YouTube)  
 +    * Start slide: ''&​startSlide=5''​ (SlideShare)
  
 ===== Примеры ===== ===== Примеры =====
Строка 32: Строка 49:
 Установить другие размеры - 200 на 100 (//**не** рекомендуется//​):​ Установить другие размеры - 200 на 100 (//**не** рекомендуется//​):​
   {{ youtube>​L-WM8YxwqEU?​200x100}}  ​   {{ youtube>​L-WM8YxwqEU?​200x100}}  ​
 +  ​
 +Some other additional parameters are supported (depending on video service) as well:
 +  {{youtube>​L-WM8YxwqEU?​small&​start=30&​end=45|A random segment of 15 seconds}}
   ​   ​
 ===== Примеры 2 (мод.Только для YouTube) ===== ===== Примеры 2 (мод.Только для YouTube) =====
Строка 43: Строка 63:
 **Примечание:​** ссылки сделаны неактивными. **Примечание:​** ссылки сделаны неактивными.
  
-^ Identifier ​ ^ Сайт|Название ​ ​^ ​Примечания ​+Copy paste the video url in the toolbar pop-up prompt to generate the syntax 
-12seconds ​  12seconds.tv|12 Seconds ​          |  |(stopped service) +^ Identifier ​ ^ Website ​ ^^ Supported parameters ​
-5min        ​5min.com|5min                ​|  | +5min        ​5min.com 5min                ​|  | 
-| bambuser ​   | bambuser.com|Bambuser ​            ​| ​The video ID is in the embed code, not in the URL +archiveorg  ​archive.org Archive.org ​        |  | 
-| bliptv ​     | blip.tv|Blip.TV ​                 ​| You get the correct id when choosing to embed for wordpress.com:​ {{gallery>​vshare-blipexample.png?​lightbox}}| +| bambuser ​   | bambuser.com | Bambuser ​            ​| ​autoplay ​
-| blogtv ​     | blogtv.com|BlogTV ​            |  | +| bliptv ​     | blip.tv | Blip.TV ​                 |  | 
-| break       | break.com|Break ​              ​| ​The ID is in the embed code: {{gallery>​vshare-break.png?​lightbox}} ​+| break       | break.com | Break               ​| ​ 
-| clipfish ​   | clipfish.de|Clipfish ​        |  | +| clipfish ​   | clipfish.de | Clipfish ​        ​| ​ | 
-| current ​    | current.com|Current ​          |  | +| dailymotion | dailymotion.com | Daily Motion | start 
-| dailymotion | dailymotion.com|Daily Motion |  | +| gtrailers ​  | gametrailers.com | GameTrailers |  | 
-| googlevideo | video.google.com|Google Video    |  ​+metacafe ​   ​| ​metacafe.com MetaCafe ​       ​ap 
-| gtrailers ​  | gametrailers.com|GameTrailers |  | +msoffice ​   ​| ​office.microsoft.com/​en-us/​support/​training-FX101782702.aspx ​Microsoft Office Training ​| | 
-justintv ​   ​| ​justin.tv|Justin.TV ​               +| myspacetv ​  | vids.myspace.com | MySpaceTV ​      ​| ​ | 
-metacafe ​   ​| ​metacafe.com|MetaCafe ​       ​ +| rcmovie ​    | rcmovie.de | RCMovie ​           |  | 
-| myspacetv ​  | vids.myspace.com|MySpaceTV ​      ​| ​ | +| scivee ​     | scivee.tv | Scivee.tv ​              ​| ​ | 
-| rcmovie ​    | rcmovie.de|RCMovie ​           ​| ​ | +twitchtv ​   ​twitch.tv Twitch.tv ​          chapter_id, initial_time ​ | 
-| revver ​     | revver.com|Revver ​           ​| ​ | +| slideshare ​ | slideshare.com | Slideshare ​    ​| ​startSlide ​ | 
-| scivee ​     | scivee.tv|Scivee.tv ​              ​| ​ | +| ustream ​    | ustream.tv | Ustream.TV ​            ​| ​ | 
-sevenload ​  sevenload.com|Sevenload ​     ​|  | +| veoh        | veoh.com | Veoh                |  | 
-| slideshare ​ | slideshare.com|Slideshare ​    ​| ​The ID is not in the URL. Choose "more share options"​ and use the ''​doc''​ parameter from the wordpress embed code: {{gallery>​vshare-slideshare.png?​lightbox}} | +| viddler ​    | viddler.com | Viddler ​          ​| ​offsetTime ​
-| stickam ​    | stickam.com|Stickam ​              ​| ​ | +| vimeo       | vimeo.com | Vimeo              | autoplay ​
-| ustream ​    | ustream.tv|Ustream.TV ​            ​| ​ | +| youtube ​    | youtube.com | YouTube ​         | start, end, rel, autoplay ​|
-| veoh        | veoh.com|Veoh ​               |  | +
-| viddler ​    | viddler.com|Viddler ​          ​| ​Use the wordpress.com embed code: {{gallery>​vshare-viddler.png?​lightbox}} ​+
-| vimeo       | vimeo.com|Vimeo ​             | The video id is the number after %%"​http://​vimeo.com/"​%% ​+
-| youtube ​    | youtube.com|YouTube ​         |  | +
- +
-Additional sites can be added to the ''​sites.conf''​ file in the plugin directory. Video ID recognition patterns for the toolbar button are configured in ''​sites.js''​.+
  
 +Additional sites can be added to the ''​sites.conf''​ file in the plugin directory. Video ID recognition patterns for the toolbar button are configured in ''​sites.js''​
wiki/help/plugin/vshare.txt · Последние изменения: 2016/09/09 00:38 —

На главную страницу Обучение Wikipedia Тестирование Контакты Нашли ошибку? Справка

Записаться на занятия

Ошибка Записаться на занятия к репетитору

Телефоны:

  • +7 (910) 874 73 73
  • +7 (905) 194 91 19
  • +7 (831) 247 47 55

Skype: eduVdom.com

закрыть[X]
Наши контакты