Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

QuickTime

Summary: Embed QuickTime content on wiki sites.
Status: Stable
Version: 0.2.1
Prerequisites: pmwiki-2.0
Maintainer:
Categories: Media Images Audio Video

Goal

Embed QuickTime content on wiki sites. You can test the script out here.

Installation

  • download quicktime.phpΔ and put it into the cookbook folder
  • include the script in your config.php:
    include_once("$FarmD/cookbook/quicktime.php");

Usage

Use the normal Attach: syntax but wrap it with the quicktime markup:

 (:quicktime Attach:myfile.ext Δ arg1=someting arg2=something:)

or if embedding an external file, be sure to drop the Attach::

 (:quicktime http://www.externalwebsite.com/myfile.ext(approve links) arg1=someting arg2=something:)

The arguments can be tag attributes as described here. Normaly it is at least the height and width of a movie file. If you show the controller you should reserve 16 additional pixel height for it. For examples (see also the test page).

Notes

Releases

Comments


Hi again,
any progress on getting MOVs from external URLs to load yet?
doesn't seem to work, even if the suggestion of adding $QuickTimeExternalResource = 1 is heeded...
thanks, overtones99 April 20, 2008, at 05:56 PM

after looking around in the code of this recipe, figured out that external links must NOT be preceded by Attach:, or else it will fail... added some example code above for adding external URL file... overtones99 April 21, 2008, at 07:34 PM


Hi,
thanks for the recipe.
i'm finding that the whole video (with controller) will only display correctly if i include scale=aspect - if i leave that out, the vid gets chopped (in both firefox & safari). also, the clip (with scale=aspect enabled) displays indented in safari (weird), but aligned left in firefox (expected).

my questions:
1. is the indentation in safari a browser-issue, or a recipe-issue?
2. how can i set up some default variables? for instance, i would like it if any video that is put on the page includes the scale=aspect in the code, unless supplied by the user...
thanks, overtones99 April 20, 2008, at 05:06 PM


I, too, can only get files uploaded to the server to be embedded but not external URLs. Any suggestions? - Jeff, October 1, 2007


I also can't get it to work... also not with the asumed included $QuickTimeExternalResource = 1; (because without the $ and ; it will generate and error!)


It works. Thanks for your help! Cari, 3/2/2006


I can't get this to display- do I need to have anything else included or enabled? I have tried with local and remote quicktime urls, the end result is the URL is displayed in a non clickable form, but the embed of the movie does not happen. Jen 7/7/06

For remote URLs you have to include QuickTimeExternalResource = 1 into your config file. I'm not shure what you mean with local urls, but if you mean file:// this is not implemented at the moment. - Schlaefer July 18, 2006, at 09:01 AM

See Also

Contributors

Edit - History - Print - Recent Changes - Search
Page last modified on April 21, 2008, at 07:34 PM