Extension:VPIPPlugin

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
VPIPPlugin

Release status: beta

Implementation Tag
Description Adds a parser tag called <video> for embedding video clips with the VPIP Player
Author(s) Yeraze
Latest version 1.0
MediaWiki 1.10.x or higher
License No license specified
Download Download Site

Translate the VPIPPlugin extension if possible

Check usage and version matrix; code metrics

The vPIPPlugin Extension is a MediaWiki extension which Adds a parser tag called <video> for embedding video clips, with some help from the vPIP tool (http://www.vpip.org)

Project Homepage
vPIPPlugin - Yeraze.com
Source Code
vPIP.php (earlier Version)

Installation[edit | edit source]

Note: Visit the website for the most up-to-date Installation Instructions

  1. First, download the vPIP Package from www.vpip.org (from the "All Other Installs" page).
  2. Edit your MediaWiki install's skins/MonoBook.php and add the necessary lines (shown at the bottom of the All Other Installs page) right before the </head> tag.
  3. Download the VPIPPlugin and unzip it into a temporary directory.
  4. Place the 2 GIF images in an web-accessible location on your webserver.
  5. Place the vPIP.php file in your wiki's "extensions" directory.
  6. Modify the vPIP.php file to reference the location of the images you installed. (Near the bottom, you'll see the <img src tags).
  7. Modify your wiki's LocalSettings.php to add the following line: require_once("$IP/extensions/vPIP.php");
  8. With all these done, you should be able to visit your Wiki's "Special:Version" page and see <video> as a new Parser Extension.

Usage[edit | edit source]

Note: visit the website for the most up-to-date Usage Information

To add a VPIP video to a page, use a syntax like the following:

<video>
url=<video URL>
height=<video height>
width=<video width>
image=<placeholder image URL>
title=<video Title>
caption=<video Caption>
download=<download URL>
type=<video MIME Type>
</video>

In this way, it's very similar to working with a Template, but without the Pipe at the beginning of every line.

See also[edit | edit source]