====== Video Share Plugin ======

===== Usage/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

=== 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)

==== Examples ====

Display a YouTube Video:

  {{youtube>L-WM8YxwqEU}}

Show a larger player:

  {{youtube>L-WM8YxwqEU?large}}

Right-align the player:

  {{ youtube>L-WM8YxwqEU}}

Show a small, centered player:

  {{ youtube>L-WM8YxwqEU?small }}

Show a small, centered player with a title (look for right space!):

  {{ youtube>L-WM8YxwqEU?small |Some funny video}}

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}}

===== Supported Services =====

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]]                
|  
|-
| archiveorg  
| [[https://archive.org/|Archive.org]]         
|  
|-
| bambuser    
| [[http://bambuser.com|Bambuser]]             
| autoplay 
|-
| bliptv      
| [[http://blip.tv/|Blip.TV]]                  
|  
|-
| break       
| [[http://www.break.com|Break]]               
|  
|-
| clipfish    
| [[http://www.clipfish.de/|Clipfish]]         
|  
|-
| dailymotion 
| [[http://www.dailymotion.com/|Daily Motion]] 
| start 
|-
| gtrailers   
| [[http://www.gametrailers.com|GameTrailers]] 
|  
|-
| 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]]       
|  
|-
| rcmovie     
| [[http://www.rcmovie.de|RCMovie]]            
|  
|-
| scivee      
| [[http://scivee.tv|Scivee.tv]]               
|  
|-
| twitchtv    
| [[http://www.twitch.tv|Twitch.tv]]           
| chapter_id, initial_time  
|-
| slideshare  
| [[http://www.slideshare.com|Slideshare]]     
| startSlide  
|-
| ustream     
| [[http://ustream.tv|Ustream.TV]]             
|  
|-
| veoh       
| [[http://www.veoh.com/|Veoh]]                
|  
|-
| viddler     
| [[http://www.viddler.com|Viddler]]           
| offsetTime 
|-
| vimeo       
| [[http://www.vimeo.com/|Vimeo]]              
| autoplay 
|-
| youtube     
| [[http://www.youtube.com/|YouTube]]          
| start, end, rel, autoplay 
|}
