Difference between revisions of "Video"

From Freephile Wiki
Jump to navigation Jump to search
(Add Franti and more info)
Line 1: Line 1:
 
== Local (on-wiki) ==
 
== Local (on-wiki) ==
Local video files are displayed in a player automatically. For example, [[:File:Dave_Matthews_Band_-_You_Me.mp4]] is automatically handed over to an HTML5 video player just by linking normally to the file like this: <pre>[[File:Dave_Matthews_Band_-_You_Me.mp4]]</pre>
+
Local video files are displayed in a player automatically. For example, [[:File:Dave_Matthews_Band_-_You_Me.mp4]] is automatically handed over to an HTML5 video player just by linking normally to the file.  
 +
{| class="wikitable"
 +
!
 +
You type
  
 +
<nowiki>[[File:Dave_Matthews_Band_-_You_Me.mp4]]</nowiki>
 +
!You get
 
[[File:Dave_Matthews_Band_-_You_Me.mp4]]
 
[[File:Dave_Matthews_Band_-_You_Me.mp4]]
 +
|}
  
 
== Cloud (e.g. YouTube) ==
 
== Cloud (e.g. YouTube) ==
 
Video files hosted on any of the '''30 supported platforms''' including YouTube, Vimeo, Archive.org can be displayed/played easily.   
 
Video files hosted on any of the '''30 supported platforms''' including YouTube, Vimeo, Archive.org can be displayed/played easily.   
 +
{| class="wikitable"
 +
!You type
 +
!You get
 +
|-
 +
 
<pre>{{#ev:youtube|https://www.youtube.com/watch?v=FVztZI-OMUg|720|right|Michael Franti & Spearhead - Good to be Alive Today (Acoustic remix)|frame}}</pre>
 
<pre>{{#ev:youtube|https://www.youtube.com/watch?v=FVztZI-OMUg|720|right|Michael Franti & Spearhead - Good to be Alive Today (Acoustic remix)|frame}}</pre>
gives
+
|{{#ev:youtube|https://www.youtube.com/watch?v=FVztZI-OMUg|720|right|Michael Franti & Spearhead - Good to be Alive Today (Acoustic remix)|frame}}
{{#ev:youtube|https://www.youtube.com/watch?v=FVztZI-OMUg|720|right|Michael Franti & Spearhead - Good to be Alive Today (Acoustic remix)|frame}}
+
|-
 
+
|
<pre>{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|720|left|Let eet GO|frame}}</pre>
+
<nowiki>{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|720|left|Let eet GO|frame}}</nowiki>
gives
+
|{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|720|left|Let eet GO|frame}}
{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|720|left|Let eet GO|frame}}
+
|-
 +
|
 +
|
 +
|}
  
 
== Syntax ==
 
== Syntax ==
Line 18: Line 32:
  
 
== Finding Local Videos ==
 
== Finding Local Videos ==
You can use the [[Special:MIMESearch]] page to search for video files.
+
You can use the [[Special:MIMESearch]] page to search for video files.  If you're using the [[Visual editor|Visual Editor]], then you can search right in the edit window.
  
 
[[Category:Video]]
 
[[Category:Video]]

Revision as of 13:39, 12 February 2018

Local (on-wiki)[edit | edit source]

Local video files are displayed in a player automatically. For example, File:Dave_Matthews_Band_-_You_Me.mp4 is automatically handed over to an HTML5 video player just by linking normally to the file.

You type
[[File:Dave_Matthews_Band_-_You_Me.mp4]]
You get

Cloud (e.g. YouTube)[edit | edit source]

Video files hosted on any of the 30 supported platforms including YouTube, Vimeo, Archive.org can be displayed/played easily.

You type You get
{{#ev:youtube|https://www.youtube.com/watch?v=FVztZI-OMUg|720|right|Michael Franti & Spearhead - Good to be Alive Today (Acoustic remix)|frame}}
Michael Franti & Spearhead - Good to be Alive Today (Acoustic remix)
{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|720|left|Let eet GO|frame}}
Let eet GO

Syntax[edit | edit source]

For more details on the link syntax for videos, as well as the list of supported services, see the extension page .

Finding Local Videos[edit | edit source]

You can use the Special:MIMESearch page to search for video files. If you're using the Visual Editor, then you can search right in the edit window.