wiki:MovieMacro

Version 9 (modified by anonymous, 5 years ago) (diff)

--

Safely embed various movies into wiki pages

Description

Embed online movies from YouTube, GoogleVideo and MetaCafe, and local movies via FlowPlayer. If you want support for more online sites just create a ticket.

Bugs/Feature Requests

Existing bugs and feature requests for MovieMacro are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out MovieMacro from here using Subversion, or browse the source with Trac.

Example

To understand lcordier better.

[[Movie(http://www.youtube.com/watch?v=XUfH-BEBMoY,width=425px,height=344px)]]

To see an overview of the Scrum development methodology...

[[Movie(http://video.google.com/videoplay?docid=-7230144396191025011)]]

To see our scale in the universe...

[[Movie(http://www.metacafe.com/watch/1768855/the_size_of_all_planets_are_relative/)]]

For countries where bandwidth comes at a premium, I would recommend you download the flash-video file (.flv) and save it in your project's htdocs directory. For YouTube movies I would suggest you try youtube-dl.

Then reference your file like so:

[[Movie(htdocs://site/filename.flv)]]

You can also attach the file to a ticket, wiki page or keep it in you SVN repository. Reference the file like so:

htdocs://site/filename.flv
    from your project's htdocs.

htdocs://plugin/dir/filename.flv
    from a plugin's htdocs.

ticket://123/filename.flv
    from an attachment on ticket #123.

wiki://WikiWord/filename.flv
    from an attachment on a wiki page.

source://1024/trunk/docs/filename.flv
    from your SVN repository revision [1024], you can also use HEAD as your revision.

Recent Changes

[12038] by rjollos on 2012-09-21 01:31:16
Refs #7422, #8808: Renamed 0.11 directory to trunk.
[12037] by rjollos on 2012-09-21 01:10:09
Refs #8808:

  • Added preview rendering of movies. Previews are rendered for attachments and repository files. For preview rendering to be available for all attachments, set the value of the [mimeviewer] max_preview_size configuration entry to greater than or equal to the value of the [attachment] max_size configuration entry in trac.ini.

The initial version of the patch was by sgifford. Thanks!

[12015] by rjollos on 2012-09-18 11:52:19

Refs #7422: (0.2dev)

  • Refactored code to make better use of the Trac API when constructing URLs. This should resolve issues with incorrect URLs.

Author/Contributors

Author: lcordier
Contributors: