internal package
Foswiki::Plugins::MediaPlugin internal package
MediaPlugin $topic
- the name of the topic in the current CGI query
$web
- the name of the web in the current CGI query
$user
- the login name of the user
$installWeb
- the name of the web the plugin is installed in
Handle MEDIA tag.
Calls _createHtml with type 'mov'.
Calls _createHtml with type 'wmv'.
Calls _createHtml with type 'swf'.
See Flash OBJECT and EMBED tag attributes.Calls _createHtml with type 'generic'.
Reads in type specific template and substitutes attribute placeholders.
Gets the name of a type specific template. For instance: type 'swf' gets template 'mediaplugin_swf'.
Creates mimetype tabe $MIMETYPES from reading and parsing attachment 'mimetypes.txt.
mergeHashes (\%a, \%b ) -> \%merged
Merges 2 hash references.
trimSpaces( $text ) -> $text
Removes spaces from both sides of the text.
Shorthand debugging call.