Changes

33 bytes removed ,  09:47, 1 June 2018
no edit summary
Line 2: Line 2:  
{{Clear}}
 
{{Clear}}
   −
= Videos on GCpedia =
+
= Videos on Wiki =
How do you add a video to a page? It varies, depending on where the video is hosted.  There are two recommended options for posting videos on GCpedia:  
+
How do you add a video to a page? It varies, depending on where the video is hosted.  There are two recommended options for posting videos on Wiki:  
 
# For large video files (greater than 32MB) the files must be hosted on an external server and a URL reference is used. See the Videoflash extension below.  
 
# For large video files (greater than 32MB) the files must be hosted on an external server and a URL reference is used. See the Videoflash extension below.  
#For video files smaller than 32MB, the videos can be uploaded and hosted directly on GCpedia.
+
#For video files smaller than 32MB, the videos can be uploaded and hosted directly on Wiki.
    
== Embed a YouTube video ==  
 
== Embed a YouTube video ==  
Line 14: Line 14:  
* '''Copy''' the code for the iframe tag
 
* '''Copy''' the code for the iframe tag
 
[[File:Youtube image embed.png|500px|link=https://www.youtube.com/watch?v=X7gWEgHeXcA]]
 
[[File:Youtube image embed.png|500px|link=https://www.youtube.com/watch?v=X7gWEgHeXcA]]
* '''Paste''' the code in your GCpedia page
+
* '''Paste''' the code in your Wiki page
 
* Add an HTML tag. <br>'''<nowiki><html><iframe width="420" height="315" src="https://www.youtube.com/embed/X7gWEgHeXcA" frameborder="0" allowfullscreen></iframe></html></nowiki>'''
 
* Add an HTML tag. <br>'''<nowiki><html><iframe width="420" height="315" src="https://www.youtube.com/embed/X7gWEgHeXcA" frameborder="0" allowfullscreen></iframe></html></nowiki>'''
 
<html><iframe width="420" height="315" src="https://www.youtube.com/embed/X7gWEgHeXcA" frameborder="0" allowfullscreen></iframe></html>'''  
 
<html><iframe width="420" height="315" src="https://www.youtube.com/embed/X7gWEgHeXcA" frameborder="0" allowfullscreen></iframe></html>'''  
Line 22: Line 22:     
# Upload your video on the third party site of your choice and take note of the video id.
 
# Upload your video on the third party site of your choice and take note of the video id.
# Go to the GCpedia page where you want to embed your video.
+
# Go to the Wiki page where you want to embed your video.
 
# Add the following wiki syntax:  
 
# Add the following wiki syntax:  
   Line 262: Line 262:       −
== Embedding a video you've uploaded to GCpedia==
+
== Embedding a video you've uploaded to Wiki==
You can upload videos directly on GCpedia if your video file size is 32MB or lower. Supported video formats are .FLV and .SWF (Adobe [https://en.wikipedia.org/wiki/Flash_Video Flash] formats).  
+
You can upload videos directly on Wiki if your video file size is 32MB or lower. Supported video formats are .FLV and .SWF (Adobe [https://en.wikipedia.org/wiki/Flash_Video Flash] formats).  
 
# [http://www.gcpedia.gc.ca/wiki/Special:Upload Upload] the video file.  
 
# [http://www.gcpedia.gc.ca/wiki/Special:Upload Upload] the video file.  
# Go to the GCpedia page where you want to embed the video, and add the following code where you want the video to appear.   
+
# Go to the Wiki page where you want to embed the video, and add the following code where you want the video to appear.   
    
<nowiki><wikiflv width="320" height="240" logo="false">video name.flv|Video2.png</wikiflv></nowiki>
 
<nowiki><wikiflv width="320" height="240" logo="false">video name.flv|Video2.png</wikiflv></nowiki>
Line 279: Line 279:  
== WikiFLV  ==
 
== WikiFLV  ==
   −
This [http://paulgu.com/wiki/FLV_Player#MediaWiki_Skin_Questions_and_Comments MediaWiki FLV Player] extension now enables you to add FLV video anywhere in your GCpedia article.  
+
This [http://paulgu.com/wiki/FLV_Player#MediaWiki_Skin_Questions_and_Comments MediaWiki FLV Player] extension now enables you to add FLV video anywhere in your Wiki article.  
    
=== Features of this extension ===
 
=== Features of this extension ===
Line 316: Line 316:  
*repeat="false"
 
*repeat="false"
   −
== Linking to a video you've uploaded to GCpedia ==
+
== Linking to a video you've uploaded to Wiki ==
# Link to the video file using Media: wikimarkup, like you would use for any other link to a file (i.e. .DOC, .PPT, or .XLS). [[How do I upload a file and link to it from GCpedia?]]
+
# Link to the video file using Media: wikimarkup, like you would use for any other link to a file (i.e. .DOC, .PPT, or .XLS). [[How do I upload a file and link to it from Wiki?]]
 
'''''Example:'''''
 
'''''Example:'''''
 
<nowiki>[[Media:To keep or not to keep video Eng.wmv|NRCan Records - To Keep or Not to Keep (video)]]</nowiki>  
 
<nowiki>[[Media:To keep or not to keep video Eng.wmv|NRCan Records - To Keep or Not to Keep (video)]]</nowiki>