Help:GCwiki Videos

From wiki
Revision as of 07:33, 28 May 2018 by Sabrina.rowland-cote (talk | contribs) (Created page with "{{TOCleft}} {{Clear}} = 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 postin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 GCpedia:

  1. 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.
  2. For video files smaller than 32MB, the videos can be uploaded and hosted directly on GCpedia.

Embed a YouTube video

You need to use iframes to embed your YouTube videos. Here's how to do it:

  • Open the YouTube page of the video you want to embed.
  • Click on the Share button that appears below the video window, and select the "Embed" option.
  • Copy the code for the iframe tag

Youtube image embed.png

  • Paste the code in your GCpedia page
  • Add an HTML tag.
    <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>

Embedding a video hosted on another third party site (somewhere else on the Web)

  1. Upload your video on the third party site of your choice and take note of the video id.
  2. Go to the GCpedia page where you want to embed your video.
  3. Add the following wiki syntax:

Syntax:

<video type="service" id="1234abc" desc="Here's lovely video"/>

Detailed Usage Options

Full syntax:

<video type="service" id="1234abc" width="270" height="203" desc="Here's lovelly video" frame="true" position="right" size="full" allowfullscreen="true"/>

Usual syntax:

<video type="service" id="1234abc" desc="Here's lovely video"/>

Note: blip.tv requires width2 parameter for proper scaling.

Parameter Required Means Allowed values Recommended
values
Default
value
type yes, if video isn't from YouTube service id bbsports, bliptv, break, broadcaster, comedycentral, clipfish, clipshack, dailymotion, eyespot, funnyordie, gazeta, glumbert, googlevideo, interia, jumpcut, kewego, liveleak, livevideo, metacafe, myspacetv, myvideo, patrz, photobucket, plejada, putfile, revver, rutube, selfcasttv, sevenload, sharkle, shoutfile, spike, stickam, superdeluxe, uncutvideo, veoh, viddler, videojug, vimeo, wrzuta, yahoovideo, youaretv, youtube, youtube2 - youtube
id yes video id from service
(check codes)
depends on video service - -
width no video width 1–852 270 270
width2 only when video came from blip.tv video width 1–852 - -
height no (yes when video came from Dailymotion or Vimeo) video height 1–510 - depends on width
desc no description below video - empty -
frame no sets frame true, false true true
position no video position left, right, center left, right right
size no use default size (not allowed for Dailymotion and Vimeo) full empty empty
allowfullscreen no setting for allowfullscreen parameter true, false true true

Supported services

Service Where to find id - URL or embed code
blip.tv <embed src="http://blip.tv/play/AbzzZgA" (…) </embed>
Break <param name="movie" value="http://embed.break.com/NTA3Mjcy">
Broadbandsports http://broadbandsports.com/node/6576
Broadcaster <embed
src="http://www.broadcaster.com/video/external/player.swf?clip=pilgarlic_968_1805633260.flv"
(…)</embed> (without dot)
Clipfish <embed src='http://www.clipfish.de/videoplayer.swf?as=0&videoid=NDE2fDM0&r=1' (…)</embed>
ClipShack http://clipshack.com/Clip.aspx?key=12A72A96545B2039
Comedy Central <embed FlashVars='videoId=170162' (…) </embed>
Dailymotion http://www.dailymotion.com/video/x4ut2d_monitor-heads-homocatodicus_creation
eyespot http://eyespot.com/share?cmd=permalink&r=0XCzIG2UEydNkriEJW0mIWsjqi
Funny or Die http://www.funnyordie.com/videos/eae26bb96d
Gazeta.pl Wideo http://serwisy.gazeta.pl/film/10,28313,5248819,(…)
glumbert http://www.glumbert.com/media/ironing
GodTube http://www.godtube.com/view_video.php?viewkey=2275da59ba352aa5070c
GoogleVideo http://video.google.com/videoplay?docid=-3115198179124180259 (with or without dash)
Interia (Znajomi) <script (…) src="http://video.interia.pl/player.js#97225,425,350"></script>
Jumpcut http://jumpcut.com/view?id=3412CB4A16EA11DDBFF8000423CF037A
Kewego http://www.kewego.com/video/iLyROoaft-IT.html (without dot)
LiveLeak http://www.liveleak.com/view?i=591_1211514053
LiveVideo http://www.livevideo.com/video/FA16D69B002B45EC84C77B905DC3640E/cute.aspx
Metacafe http://www.metacafe.com/watch/1342466/how_to_recycle_a_pillowcase/ (without last backslash)
MySpaceTV http://vids.myspace.com/index.cfm?fuseaction=vids.individual&VideoID=48088438
MyVideo http://www.myvideo.de/watch/366128
Patrz <embed src="http://patrz.pl/patrz.pl.swf?id=340362&r=5&o=" (…)</embed>
Photobucket <embed src="http://i294.photobucket.com/player.swf?
file=http://vid294.photobucket.com/albums/mm97/onlyme2332/psicosis1.flv&sr=1">
Plejada <embed src="http://www.plejada.pl/_d/flash/35962,player_loader.swf" (…) />
Putfile http://media.putfile.com/Redneck-911
Revver http://revver.com/video/909341/best-of-2007-cicada-video/
RuTube http://rutube.ru/tracks/714530.html?v=0202ccd8a4a92c8ea22f091e04927d28
SelfcastTV http://www.selfcasttv.com/Selfcast/playVideo.do?ref=s/86/160 (without first backslash)
sevenload http://en.sevenload.com/videos/FpkksY4-Father-and-Son
Sharkle <embed src=http://www.sharkle.com/externalPlayer/170233/1d1iy42312/3/ (…) </embed>
Shoutfile http://www.shoutfile.com/v/NFVA5xvu/Facebook_Gangsta
Spike http://www.spike.com/video/30-second-hot-chick/2881456
Stickam http://www.stickam.com/editMediaComment.do?method=load&mId=179274577
Super Deluxe http://www.superdeluxe.com/sd/contentDetail.do?
id=D81F2344BF5AC7BBA2E41C8C633726C7E5E821AD3C5FD55F
UnCut Video <param name="FlashVars"
value="aID=1c393649784ee0a32923f12696bbd9f91&site=http://uncutvideo.aol.com/"/>
Veoh http://www.veoh.com/videos/v465909jh3gBDCe?…
Viddler <embed src="http://www.viddler.com/player/ff6a9d9b/" (…)</embed>
VideoJug <embed
src="http://www.videojug.com/film/player?id=6bdae9a1-d8c8-5c06-3b58-ff0008ca6bff" (…)
</embed>
Vimeo http://vimeo.com/950846
Wrzuta <script type="text/javascript" src="http://www.wrzuta.pl/wrzuta_embed.js?wrzuta_key=tbFJ6yJDnt
&wrzuta_flv=http://www.wrzuta.pl/vid/file/tbFJ6yJDnt/austria-polska_1_1>
&wrzuta_mini=http://c2.wrzuta.pl/wm14658/1d040325000c5b484851938e/Austria-Polska%201%3A1
&wrzuta_name=Austria-Polska%201%3A1
&wrzuta_width=450&wrzuta_height=416"></script>
Yahoo! Video <param name="flashVars" value="id=3048587&vid=660306&lang=en-us&intl=us&thumbUrl=&embed=1" />
You Are TV http://www.youare.tv/watch.php?id=2727
YouTube http://youtube.com/watch?v=Tds7hzkZsSk
(for 480x295px videos use type="youtube2" instead of type="youtube")

For current specifications regarding this MediaWiki extension, Wikipedia has more information.


Embedding a video you've uploaded to GCpedia

You can upload videos directly on GCpedia if your video file size is 32MB or lower. Supported video formats are .FLV and .SWF (Adobe Flash formats).

  1. Upload the video file.
  2. Go to the GCpedia page where you want to embed the video, and add the following code where you want the video to appear.

<wikiflv width="320" height="240" logo="false">video name.flv|Video2.png</wikiflv>

Example: <wikiflv width="320" height="240" logo="false">GCPEDIA_testimonial.flv|Video2.png</wikiflv>

Produces: <wikiflv width="320" height="240" logo="false">GCPEDIA_testimonial.flv|Video2.png</wikiflv>


WikiFLV

This MediaWiki FLV Player extension now enables you to add FLV video anywhere in your GCpedia article.

Features of this extension

  • Add cover image for each video
  • Resize player window according to your needs
  • Control auto start
  • Control volume
  • Control the position of the player
  • Add your own logo (best size is 32x32 pixels or less)
  • Files can be uploaded through MediaWiki
  • Files can be absolute path (case sensitive)

How to use example:

  • "GCpedia_testimonial.flv" -> video file (stored in GCpedia)
  • "Video2.png" -> cover image file (stored in GCpedia)
<wikiflv width="300" height="180" logo="false">GCPEDIA_testimonial.flv|Video2.png</wikiflv> 

<wikiflv autostart="false" logo="false" height="180" width="300">GCPEDIA_testimonial.flv|Video2.png</wikiflv>


MediaWiki FLV Player Control Parameters

The following are default parameters, they can be overwritten through syntax.

  • whatever.flv|whatever.png
  • width="320"
  • height="180"
  • position="none"
  • autostart="true"
  • logo="true"
  • autostart="false"
  • volume="100"
  • repeat="false"

Linking to a video you've uploaded to GCpedia

  1. 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?

Example: [[Media:To keep or not to keep video Eng.wmv|NRCan Records - To Keep or Not to Keep (video)]]

Produces: