Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
wiki:help:plugin:vshare [2013/04/23 01:18] ¶ |
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 site. The ''//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¶meter2//|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 parameter. You 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) ===== | ||
Строка 41: | Строка 61: | ||
===== Поддерживаемые сервисы ===== | ===== Поддерживаемые сервисы ===== | ||
- | ^ Identifier ^ Сайт ^ Примечания ^ | + | **Примечание:** ссылки сделаны неактивными. |
- | | 12seconds | [[http://12seconds.tv|12 Seconds]] | |(stopped service) | + | |
- | | 5min | [[http://www.5min.com/|5min]] | | | + | |
- | | bambuser | [[http://bambuser.com|Bambuser]] | The video ID is in the embed code, not in the URL | | + | |
- | | bliptv | [[http://blip.tv/|Blip.TV]] | You get the correct id when choosing to embed for wordpress.com: {{gallery>vshare-blipexample.png?lightbox}}| | + | |
- | | blogtv | [[http://www.blogtv.com|BlogTV]] | | | + | |
- | | break | [[http://www.break.com|Break]] | The ID is in the embed code: {{gallery>vshare-break.png?lightbox}} | | + | |
- | | clipfish | [[http://www.clipfish.de/|Clipfish]] | | | + | |
- | | current | [[http://www.current.com|Current]] | | | + | |
- | | dailymotion | [[http://www.dailymotion.com/|Daily Motion]] | | | + | |
- | | googlevideo | [[http://video.google.com/|Google Video]] | | | + | |
- | | gtrailers | [[http://www.gametrailers.com|GameTrailers]] | | | + | |
- | | justintv | [[http://justin.tv|Justin.TV]] | | | + | |
- | | metacafe | [[http://www.metacafe.com/|MetaCafe]] | | | + | |
- | | myspacetv | [[http://vids.myspace.com/|MySpaceTV]] | | | + | |
- | | rcmovie | [[http://www.rcmovie.de|RCMovie]] | | | + | |
- | | revver | [[http://www.revver.com/|Revver]] | | | + | |
- | | scivee | [[http://scivee.tv|Scivee.tv]] | | | + | |
- | | sevenload | [[http://www.sevenload.com/|Sevenload]] | | | + | |
- | | slideshare | [[http://www.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}} | | + | |
- | | stickam | [[http://stickam.com|Stickam]] | | | + | |
- | | ustream | [[http://ustream.tv|Ustream.TV]] | | | + | |
- | | veoh | [[http://www.veoh.com/|Veoh]] | | | + | |
- | | viddler | [[http://www.viddler.com|Viddler]] | Use the wordpress.com embed code: {{gallery>vshare-viddler.png?lightbox}} | | + | |
- | | vimeo | [[http://www.vimeo.com/|Vimeo]] | The video id is the number after http://vimeo.com/ | | + | |
- | | youtube | [[http://www.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''. | + | Copy paste the video url in the toolbar pop-up prompt to generate the syntax |
+ | ^ Identifier ^ Website ^^ Supported parameters ^ | ||
+ | | 5min | 5min.com | 5min | | | ||
+ | | archiveorg | archive.org | Archive.org | | | ||
+ | | bambuser | bambuser.com | Bambuser | autoplay | | ||
+ | | bliptv | blip.tv | Blip.TV | | | ||
+ | | break | break.com | Break | | | ||
+ | | clipfish | clipfish.de | Clipfish | | | ||
+ | | dailymotion | dailymotion.com | Daily Motion | start | | ||
+ | | gtrailers | gametrailers.com | GameTrailers | | | ||
+ | | metacafe | metacafe.com | MetaCafe | ap | | ||
+ | | msoffice | office.microsoft.com/en-us/support/training-FX101782702.aspx | Microsoft Office Training | | | ||
+ | | myspacetv | vids.myspace.com | MySpaceTV | | | ||
+ | | rcmovie | rcmovie.de | RCMovie | | | ||
+ | | scivee | scivee.tv | Scivee.tv | | | ||
+ | | twitchtv | twitch.tv | Twitch.tv | chapter_id, initial_time | | ||
+ | | slideshare | slideshare.com | Slideshare | startSlide | | ||
+ | | ustream | ustream.tv | Ustream.TV | | | ||
+ | | veoh | veoh.com | Veoh | | | ||
+ | | viddler | viddler.com | Viddler | offsetTime | | ||
+ | | vimeo | vimeo.com | Vimeo | autoplay | | ||
+ | | youtube | youtube.com | YouTube | start, end, rel, autoplay | | ||
+ | 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'' |