Extension:Quicktime

From MediaWiki.org

Jump to: navigation, search

   

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Quicktime

Release status: unknown

Implementation  Tag
Description provides a tag that embeds Quicktime movies
License No license specified
Download version 0.01

check usage (experimental)

The Quicktime extension allows the display of QuickTime movies within a wiki.

Contents

[edit] Syntax

[edit] Base Syntax

<qt>file=filename.mov|attribute=value|...</qt>

[edit] Attribute Reference

  • width=px or % (Modify the width of the object)
  • height=px or a% (Modify the height of the object)
  • autoplay=true/false (Start playing the file or wait at first frame, default:true)
  • controller=true/false (Show the controller, default:true)
  • name (object-specific)
  • id (embed-specific)
  • src (embed-specific)

[edit] Examples

<qt>file=film.mov|width=320|height=240|autoplay=true</qt>
Shows the movie with the with a width of 320 and a height of 240 pixels that starts playing as soon as its loaded.

<qt>file=film.mov|width=320|height=240|autoplay=false|controller=true</qt>
Shows the movie with the with a width of 320 and a height of 240 pixels that does not play when loaded, but waits for the user to click on the play button.

[edit] Code / Downloads

[edit] Installation

  1. Click on one of the versions above
  2. Copy the code into a file (e.g. quicktime.php)
  3. Save the file in the extensions directory of your mediawiki folder
  4. Add the line include('extensions/quicktime.php'); to the end of your LocalSettings.php file (The name of your file is case sensitive!)

Now you can use the extension with <qt>...</qt> in the wiki

[edit] Frequently Asked Questions

[edit] Can I embed/reference a QTSS rtsp:// stream?

A:

[edit] I can't upload QuickTime (*.mov) files!

If you cannot upload anything, then first enable uploads. Find the line $wgEnableUploads = false; in LocalSettings.php. If it is commented out, uncomment it and change false to true.

By default, Mediawiki still blocks many files from being uploaded for security reasons. Add this line your LocalSettings.php file, which will allow the upload of QuickTime files:

$wgFileExtensions[] = 'mov';

See also Help:Images: You may also need to remove the desired extension from the filetype blacklist in /includes/DefaultSettings.php.

[edit] Known Bugs

  • Possible security issues with Javascript that are not tested yet
  • Size/Width attributes don't hold up in Internet Explorer (6 or 7);