Help:Embedding Videos

From KnitWiki

Jump to: navigation, search

Contents

Video Formats

You can embed videos in three different formats:

  • A WMV file that you have uploaded to the KnitWiki
  • YouTube video and
  • Google video

How to Embed WMV Videos

  1. Create a video in WMV format
  2. Upload your video. You will receive a warning that WMV format is not a preferred video format but click on the save button anyway.

Place your file name between the wiki code within paragpraph tags

<P><video>Purling-backwards.wmv</video></p>

Preview your article. If you have added your video properly it will look like this:


If you have already uploaded your wmv file to your own website you can use the whole url instead of just the file name. For example, I have the same video as part of the knitting tips section in Knitting-and.com. If I paste the url to the video

<P><video>http://www.knitting-and.com/knitting/tips/movies/purling-backwards.wmv</video></P>

it will create the same effect.

Please make sure if you use this option, that you are abiding by the KnitWiki copyright policy.

How to Embed YouTube Videos

Once you have found (or created) the YouTube video that you would like to embed into your wiki article, copy the v number from the url in your address bar. For example: If the url for the video you are viewing looks like this:

http://youtube.com/watch?v=2jYa_rJyG18

You just want to copy the number 2jYa_rJyG18

To embed the video into your article paste the number you just copied between wiki tags:

<youtube>2jYa_rJyG18</youtube>

Preview your article to make sure you have entered the code correctly. If you have, the video will be embedded into your article.

How to Embed Google Videos

Once you have found the google video that you want to embed into your wiki article, copy the docid number from the url in the browser address bar. For example: If the url for the video you are viewing looks like this:

http://video.google.com/videoplay?docid=8913692202753051212

You just want to copy the number 8913692202753051212

To embed the video into your article paste the number you just copied between wiki tags:

<googlevideo>8913692202753051212</googlevideo>

Preview your article. If the video will not play put a "-" sign after the opening <googlevideo> tag like this:

<googlevideo>-8913692202753051212</googlevideo> 

and preview your page again.

Not all videos require the minus sign after the opening tag so you will need to preview your article to check.

When you save your article your video will be embedded and readers can play it within the page.

What About Other Formats?

Other video formats cannot be embedded in a wiki article. However, you can include them for people to download and play.

To include a video for people to dowload use the multimedia link format: [[Media:your file name|text to describe the file]], replacing your file name with the actual name of your file and text to describe the file with the text you want to appear in the article for people to click on.

This will create a link that people can click on to open or download your file. This is a great way to include iPod mp4 videos for people to download and put on their iPods for knitting in public!

Other Articles of Interest

Editing pages

Managing files

Personal tools
Toolbox