DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:vshare

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:vshare [2014-10-27 22:15]
Klap-in
plugin:vshare [2018-10-07 09:41] (current)
shintak
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax type       : syntax
-lastupdate : 2014-10-24 +lastupdate : 2018-02-05 
-compatible : Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun+compatible : Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo
 depends ​   :  depends ​   : 
-conflicts ​ : dailymotion, google_video,​ youtubev2 +conflicts ​ : dailymotion 
-similar ​   : dailymotion, ​google_video,​ youtubev2, niconico+similar ​   : dailymotion, ​slideshare
 tags       : media, video, embed, flash, youtube tags       : media, video, embed, flash, youtube
  
Line 23: Line 23:
 ===== Download and Install ===== ===== Download and Install =====
  
-Please use the the download link at the top for manual installation or use in the plugin ​manager. +Search and install ​the plugin using the [[plugin:​extension|Extension Manager]]Refer to [[:Plugins]] on how to install plugins manually.
- +
-==== Changes ==== +
- +
-{{rss>​https://​github.com/​splitbrain/​dokuwiki-plugin-vshare/​commits/​master.atom date}}+
  
 ===== Usage/​Syntax ===== ===== Usage/​Syntax =====
  
-The basic syntax looks like this: ''​%%{{%%//​videosite//>//​videoid//?//​parameter1&​parameter2//​|title%%}}%%''​ +The basic syntax looks like this: ''​%%{{%%//​videosite//>//​videoid//?//​parameter1&​parameter2//​|title%%}}%%''​ 
-  * Where ''//​videosite//''​ is one of the identifiers listed ​below, ​ +  * Where ''//​videosite//''​ is one of the identifiers listed ​in [[#​Supported Services]] chapter 
-  * and ''//​videoid//''​ is the identifier of the video at the respective site +  * 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 ''&''​. +  * 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.  +  * 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).+  * 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 ===
  
-===Parameters=== 
   * The ''//​size//''​ parameter is the best supported parameter. You can either give it in the form:   * The ''//​size//''​ parameter is the best supported parameter. You can either give it in the form:
-    * ''//​width//​x//​height//''​ like ''​500x300''​ +    * ''//​width//​x//​height//''​ like ''​500x300''​ 
-    * or use the keywords ''​small'',​ ''​medium''​ or ''​large''​+    * or use the keywords ''​small'',​ ''​medium''​ or ''​large''​
   * Some other additional parameters are supported (depending on video service) as well:   * Some other additional parameters are supported (depending on video service) as well:
-    * Start point of video: ''&​start=<​seconds>''​ (youtube) or ''&​initial_time=<​seconds>''​ (twitchtv+    * Start point of video: ''&​start=<​seconds>''​ (YouTube, DailyMotion) or ''&​initial_time=<​seconds>''​ (TwitchTV
-    * End point of video segment: ''&​end=<​seconds>''​ (youtube+    * End point of video segment: ''&​end=<​seconds>''​ (YouTube
-    * Auto play: ''&​autoplay=1''​ (vimeoyoutube+    * Auto play: ''&​autoplay=1''​ (VimeoYouTube, DailyMotion,​ Bambuser) or ''&​ap=1''​(MetaCafe
-    * Do not show related videos when playback ends: ''&​rel=0''​ (youtube+    * Do not show related videos when playback ends: ''&​rel=0''​ (YouTube)  
 +    * Start slide: ''&​startSlide=5''​ (SlideShare)
  
 ==== Examples ==== ==== Examples ====
Line 60: Line 58:
   {{youtube>​L-WM8YxwqEU?​large}}   {{youtube>​L-WM8YxwqEU?​large}}
  
-Right-align the player :+Right-align the player:
  
   {{ youtube>​L-WM8YxwqEU}}   {{ youtube>​L-WM8YxwqEU}}
Line 68: Line 66:
   {{ youtube>​L-WM8YxwqEU?​small }}   {{ youtube>​L-WM8YxwqEU?​small }}
  
-Show a small, centered player with a title:+Show a small, centered player with a title (look for right space!):
  
   {{ youtube>​L-WM8YxwqEU?​small |Some funny video}}   {{ youtube>​L-WM8YxwqEU?​small |Some funny video}}
-  ​+
 Some other additional parameters are supported (depending on video service) as well: Some other additional parameters are supported (depending on video service) as well:
  
Line 78: Line 76:
 ===== Supported Services ===== ===== Supported Services =====
  
-^ Identifier ​ ^ Website ​ ^ Notes ^+Copy paste the video url in the toolbar pop-up prompt to generate the syntax 
 +^ Identifier ​ ^ Website ​ ^ Supported parameters ​^
 | 5min        | [[http://​www.5min.com/​|5min]] ​               |  | | 5min        | [[http://​www.5min.com/​|5min]] ​               |  |
-| bambuser ​   | [[http://​bambuser.com|Bambuser]] ​            ​| ​The video ID is in the embed code, not in the URL +| archiveorg ​ | [[https://​archive.org/​|Archive.org]] ​        ​| ​ | 
-| bliptv ​     | [[http://​blip.tv/​|Blip.TV]] ​                 | You get the correct id when choosing to embed for wordpress.com:​ {{gallery>:​plugin:​blipexample.png?​lightbox}}+| bambuser ​   | [[http://​bambuser.com|Bambuser]] ​            ​| ​autoplay ​
-| break       | [[http://​www.break.com|Break]] ​              ​| ​The ID is in the embed code: {{gallery>:​plugin:​break.png?​lightbox}} ​|+| bliptv ​     | [[http://​blip.tv/​|Blip.TV]] ​                 |  
 +| break       | [[http://​www.break.com|Break]] ​              ​| ​ |
 | clipfish ​   | [[http://​www.clipfish.de/​|Clipfish]] ​        ​| ​ | | clipfish ​   | [[http://​www.clipfish.de/​|Clipfish]] ​        ​| ​ |
-| dailymotion | [[http://​www.dailymotion.com/​|Daily Motion]] |  |+| dailymotion | [[http://​www.dailymotion.com/​|Daily Motion]] | start |
 | gtrailers ​  | [[http://​www.gametrailers.com|GameTrailers]] |  | | gtrailers ​  | [[http://​www.gametrailers.com|GameTrailers]] |  |
-| metacafe ​   | [[http://​www.metacafe.com/​|MetaCafe]] ​       |  |+| metacafe ​   | [[http://​www.metacafe.com/​|MetaCafe]] ​       | ap | 
 +| msoffice ​   | [[http://​office.microsoft.com/​en-us/​support/​training-FX101782702.aspx|Microsoft Office Training]] | |
 | myspacetv ​  | [[http://​vids.myspace.com/​|MySpaceTV]] ​      ​| ​ | | myspacetv ​  | [[http://​vids.myspace.com/​|MySpaceTV]] ​      ​| ​ |
 | rcmovie ​    | [[http://​www.rcmovie.de|RCMovie]] ​           |  | | rcmovie ​    | [[http://​www.rcmovie.de|RCMovie]] ​           |  |
 | scivee ​     | [[http://​scivee.tv|Scivee.tv]] ​              ​| ​ | | scivee ​     | [[http://​scivee.tv|Scivee.tv]] ​              ​| ​ |
-| twitchtv ​   | [[http://​www.twitch.tv|Twitch.tv]] ​          ​| ​Points default to channel, refer a video by adding ''?​chapter_id=<number from url>'' ​+| twitchtv ​   | [[http://​www.twitch.tv|Twitch.tv]] ​          | chapter_id, initial_time  ​
-| 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>:​plugin:​slideshare.png?​lightbox}} ​|+| slideshare ​ | [[http://​www.slideshare.com|Slideshare]] ​    ​| ​startSlide  ​|
 | ustream ​    | [[http://​ustream.tv|Ustream.TV]] ​            ​| ​ | | ustream ​    | [[http://​ustream.tv|Ustream.TV]] ​            ​| ​ |
 | veoh        | [[http://​www.veoh.com/​|Veoh]] ​               |  | | veoh        | [[http://​www.veoh.com/​|Veoh]] ​               |  |
-| viddler ​    | [[http://​www.viddler.com|Viddler]] ​          ​| ​Use the wordpress.com embed code: {{gallery>:​plugin:​viddler.png?​lightbox}} ​+| viddler ​    | [[http://​www.viddler.com|Viddler]] ​          ​| ​offsetTime ​
-| vimeo       | [[http://​www.vimeo.com/​|Vimeo]] ​             | The video id is the number after http://​vimeo.com/ ​+| vimeo       | [[http://​www.vimeo.com/​|Vimeo]] ​             | autoplay ​
-| youtube ​    | [[http://​www.youtube.com/​|YouTube]] ​         | |+| youtube ​    | [[http://​www.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''​
  
-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''​.+==== Changes ==== 
 + 
 +{{rss>​https://​github.com/​splitbrain/​dokuwiki-plugin-vshare/​commits/​master.atom date}}
  
-===== Issues ===== +Please report bugs and request features at the [[https://​github.com/​splitbrain/​dokuwiki-plugin-vshare/​issues|issue tracker]]
-Please report bugs and request features at the [[https://​github.com/​splitbrain/​dokuwiki-plugin-vshare/​issues|issue tracker]].+
plugin/vshare.1414444502.txt.gz · Last modified: 2014-10-27 22:15 by Klap-in