Changes

Jump to: navigation, search

VideoUpload

852 bytes added, 15:32, 26 October 2007
New page: {{#ev:youtube|BRvwYtEFnNs}} How do you like that? :) The EmbedVideo parser function expects to be called in either of the following ways: * <tt><nowiki>{{#ev:service|id}}</nowiki></tt> ...
{{#ev:youtube|BRvwYtEFnNs}}


How do you like that? :)

The EmbedVideo parser function expects to be called in either of the following ways:
* <tt><nowiki>{{#ev:service|id}}</nowiki></tt> -or-
* <tt><nowiki>{{#ev:service|id|width}}</nowiki></tt>

Where:
* <tt>service</tt> is the name of a video sharing service.
* <tt>id</tt> is the id of the video to include
* <tt>width</tt> (optional) is the width in pixels of the viewing area (height will be determined automatically)

For example, to include the Gryzor gameplay video you see above from YouTube, you'd enter:
<pre>{{#ev:youtube|BRvwYtEFnNs}}</pre>

And if you wanted scaled down to thumbnail size, you could use:
<pre>{{#ev:youtube|BRvwYtEFnNs|100}}</pre>

Video sites allowed:
*<tt>YouTube. id: youtube</tt>
*<tt>Google Video. id: googlevideo</tt>
*Some others, too, but not of real use. Enjoy!
1,963
edits