Loading...
 

PluginMov

Wiki Plugin MOV

Description

This plugin plays a quicktime movie in a wiki page (.mpg as well)

Usage

Copy attachment to:

Copy to clipboard
lib/wiki-plugins/


MOV Displays a Quicktime Movie on the wiki page:

Copy to clipboard
{MOV(width=>xx,height=>xx, controller=>true|false,autoplay=>true|false,loop=>false|true)}URL to Movie{MOV}


with and height optional (default 320 x 240)
controller optional (default true) 16 pix are added to height to show up the contoller
autoplay optional (default true)
loop optional (default false)

alternative you could write

Copy to clipboard
{MOV(movie=>URL to Movie, width=>xx,height=>xx, controller=>true|false,autoplay=>true|false,loop=>false|true)}{MOV}


Example

Copy to clipboard
{MOV()}http://yoursite.org/pub/sample.mov{MOV}

You can link .mov .mpg file in file galleries as a plugin in wiki page by using the files' id in file galleries.

First you have to edit the wikiplugin_mov.php

Add "tiki-download_file.php?fileId=" in this line in wikiplugin_mov.php

Copy to clipboard
$asetup .= "<PARAM NAME=\"src\" VALUE=\"$movie\">";

change to

Copy to clipboard
$asetup .= "<PARAM NAME=\"src\" VALUE=\"tiki-download_file.php?fileId=$movie\">";


After that you just need to enter fileid of the mov/mpg file instead of file url

Copy to clipboard
{MOV(movie=>fileid, width=>xx,height=>xx, controller=>true|false,autoplay=>true|false,loop=>false|true)}{MOV}

  • Remember to change back the code if you want to link to file by using url or you can just create another new plugin.

Download


No such attachment on this page


Page last modified on Tuesday 31 October 2006 04:30:34 GMT-0000