Loading...
 

PluginWMV

Wiki Plugin WMV

Description

This plugin plays a Windows Media Player movie in a wiki page (.wmv)

Usage

Copy attachment to:

Copy to clipboard
lib/wiki-plugins/


WMV Displays a Windows Media Player Movie on the wiki page:

Copy to clipboard
{WMV(width=>xx,height=>xx, controller=>true|false,autostart=>1|0)}Movie{WMV}


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


alternative you could write

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


Example

Copy to clipboard
{WMV()}http://yoursite.org/pub/sample.wmv{WMV}


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

First you have to edit the wikiplugin_wmv.php

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

Copy to clipboard
$asetup .= "<param name=\"Filename\" value=\"$movie\"> ";

change to

Copy to clipboard
$asetup .= "<param name=\"Filename\" value=\"tiki-download_file.php?fileId=$movie\"> ";


After that you just need to enter fileid of the wmv file instead of file's url

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

  • 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:29:48 GMT-0000

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting