key Log In or Register to edit

Embed Plugin

This is a plugin that you can use to embed MediaPlayer files in TWiki webs.

Syntax Rules

%EMBED{filename="string" width="number" height="number"}%

EmbedPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %EMBEDPLUGIN_SHORTDESCRIPTION%

  • One line description, shown in the Text Formatting Rules topic:
    • Set SHORTDESCRIPTION = Embeds MediaPlayer files in a TWiki page

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You need to install a MediaPlayer plugin on the browser to see the MediaPlayer content. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip EmbedPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/EmbedPlugin.txt Plugin topic
    data/TWiki/EmbedPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/EmbedPlugin.pm Plugin Perl module
    pub/TWiki/EmbedPlugin/bells.mp3 Plugin sample mp3
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • Test if the plugin is correctly installed:
    • A small MediaPlayer object below:

Plugin Info

Plugin Author: Martin Cleaver? based on work by TWiki:Codev.DonnyKurniawan
Plugin Version: 19 Nov 2003 (V1.000)
Change History:  
19 Nov 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/EmbedPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/EmbedPluginDev

Related Topics: T Wiki Preferences, T Wiki Plugins

-- Martin Cleaver? - 6 Aug 2003

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
wavmp3 bells.mp3 manage 251.4 K 20 Nov 2003 - 04:43 T Wiki Guest  
 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.