Version 16 (modified by 10 years ago) (diff) | ,
---|
Contents
Safely embed various movies into wiki pages
Notice: This plugin is unmaintained and available for adoption.
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.
Adds support for preview rendering of movies in the browser and on attachment pages. For preview rendering to be available for all attachments, set the max_preview_size
in the [mimeviewer]
section of trac.ini
to be greater than or equal to max_size
in the [attachment]
section.
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 [download:moviemacro zipped source], check out 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:
- from your project's htdocs:
htdocs://site/filename.flv
- from a plugin's htdocs:
htdocs://plugin/dir/filename.flv
- from an attachment on ticket
#123
:ticket://123/filename.flv
- from an attachment on a wiki page:
wiki://WikiWord/filename.flv
- from your SVN repository revision
[1024]
, you can also useHEAD
as your revision:source://1024/trunk/docs/filename.flv
Recent Changes
- 18483 by rjollos on 2022-05-27 18:11:30
-
TracMovieMacro 0.4dev: Make compatible with Python 3
- Add new movie sites
- Fix YouTube access
Patch by Dan.
Fixes #14127.
- 16691 by jun66j5 on 2017-06-30 07:03:29
-
TracMovieMacro 0.3: fix movie macro not working on Windows (closes #12797)
- 16637 by rjollos on 2017-05-31 00:21:57
-
TracMovieMacro 0.3: Make forward-compatible with Trac 1.3+
Remove string interpolation from logger calls.
(more)
Author/Contributors
Author: lcordier
Maintainer: none (needsadoption)
Contributors: