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-11-25 14:17]
andi
plugin:vshare [2018-05-06 22:17] (current)
Klap-in
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax type       : syntax
-lastupdate : 2014-11-25 +lastupdate : 2018-02-05 
-compatible : Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun+compatible : Elenor of Tsort, ​Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus
 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 24: Line 24:
  
 Please use the the download link at the top for manual installation or use in the plugin manager. Please use the the download link at the top for manual installation or use in the plugin manager.
- 
-==== 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>''​ (youtubedailymotion) or ''&​initial_time=<​seconds>''​ (twitchtv+    * Start point of video: ''&​start=<​seconds>''​ (YouTubeDailyMotion) 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''​ (vimeoyoutubedailymotionbambuser) or ''&​ap=1''​(metacafe+    * Auto play: ''&​autoplay=1''​ (VimeoYouTubeDailyMotionBambuser) 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)+    * Start slide: ''&​startSlide=5''​ (SlideShare)
  
 ==== Examples ==== ==== Examples ====
Line 61: 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 69: 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 75:
  
 ===== Supported Services ===== ===== Supported Services =====
-Copy paste the video url in the toolbar pop-up prompt to generate the syntax+ 
 +Copy paste the video url in the toolbar pop-up prompt to generate the syntax
 ^ Identifier ​ ^ Website ​ ^ Supported parameters ^ ^ Identifier ​ ^ Website ​ ^ Supported parameters ^
 | 5min        | [[http://​www.5min.com/​|5min]] ​               |  | | 5min        | [[http://​www.5min.com/​|5min]] ​               |  |
 +| archiveorg ​ | [[https://​archive.org/​|Archive.org]] ​        ​| ​ |
 | bambuser ​   | [[http://​bambuser.com|Bambuser]] ​            | autoplay | | bambuser ​   | [[http://​bambuser.com|Bambuser]] ​            | autoplay |
 | bliptv ​     | [[http://​blip.tv/​|Blip.TV]] ​                 |  | | bliptv ​     | [[http://​blip.tv/​|Blip.TV]] ​                 |  |
Line 100: Line 99:
 | youtube ​    | [[http://​www.youtube.com/​|YouTube]] ​         | start, end, rel, autoplay | | 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.1416921462.txt.gz · Last modified: 2014-11-25 14:17 by andi