Help:Adding Media/Video
Adding Video
It is not possible to directly upload videos to the UBC Wiki; however you can embed video files from another service like youtube or Kaltura.
Adding Video in Wikitext editor mode
Below is the tutorial for wikitext mode. If you wish to edit video in Visual Editor, see the links above. |
This message box is using an invalid "type=notice (optional)" parameter and needs fixing.
What You Want to Do | Example of Wiki Code to Use | What You See |
---|---|---|
Embedding a video file: for example the YouTube video at http://www.youtube.com/watch?v=WZkvkcgjXbM |
{{#widget:YouTube|id=WZkvkcgjXbM|height=215|width=320}} | |
Embedding a Kaltura video: must be done through the Kaltura widget Link to add: https://learning.video.ubc.ca/media/Public+Domain+Video+/0_lmoxi8fq uiconf_id/1760292 |
{{#widget:Kaltura|id=0_lmoxi8fq|width=300}} |
Aligning Videos to the Left or Right
You can use html div's to align your video to the left or right side of the page. For example, the following code places the video on the left side of the page in wikitext mode:
What You Want to Do | Example of Code to Use | What You See |
---|---|---|
Align Video to the Right | <div class="thumb tright"> <div class="thumbinner"> {{#widget:YouTube|id=WZkvkcgjXbM|height=315|width=420}}<br/> <div class="thumbcaption">Here is a YouTube Video<br/> </div></div></div> |
|
Align Video to the Left | <div class="thumb tleft"> <div class="thumbinner"> {{#widget:YouTube|id=WZkvkcgjXbM|height=315|width=420}}<br/> <div class="thumbcaption">Here is a YouTube Video<br/> </div></div></div> |
|
See Also
- See Help:Widgets/Kaltura for information on how to embed Kaltura videos
- See Help:Widgets/Vimeo for information on how to embed Vimeo videos
- Help for adding images and pictures