User:Mike (tfb)

From Tiny Farm Wiki

Jump to: navigation, search

http://tinyfarmblog.com

[edit] Notes for wiki editing

[edit] EmbedVideo extension usage

The EmbedVideo parser function expects to be called in either of the following ways:

  • {{#ev:service|id}} -or-
  • {{#ev:service|id|width}}

Where:

  • service is the name of a video sharing service.
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

For example, to include the famous "evolution of dance" YouTube video, you'd enter:

{{#ev:youtube|dMH0bHeiRNg}}

And if you wanted scaled down to thumbnail size, you could use:

{{#ev:youtube|dMH0bHeiRNg|100}}

Note: See the Project Homepage for more examples.

Ads
License
Creative Commons License
Tiny Farm Wiki is open content, free for all to copy, modify and distribute for non-commercial puposes. TFW is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License. Please credit use of this work to TinyFarmWiki.com.