Changes between Version 20 and Version 21 of MovieMacro
- Timestamp:
- May 11, 2015, 5:24:00 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MovieMacro
v20 v21 9 9 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. 10 10 11 == Download and Source11 == Bugs/Feature Requests 12 12 13 Download the [download:moviemacro zipped source], check out [http://trac-hacks.org/svn/moviemacro using Subversion], or [source:moviemacro browse the source] with Trac. 13 Existing bugs and feature requests for MovieMacro are [query:status!=closed&component=MovieMacro&order=priority here]. 14 15 If you have any issues, create a [/newticket?component=MovieMacro new ticket]. 16 17 [[TicketQuery(component=MovieMacro,group=type,format=progress)]] 18 19 == Download 20 21 Download the [download:moviemacro zipped source]. 14 22 15 23 It is available from PyPI also: [pypi:TracMovieMacro]. 16 24 25 == Source 26 27 Check out [http://trac-hacks.org/svn/moviemacro using Subversion], or [source:moviemacro browse the source] with Trac. 28 17 29 == Configuration 18 30 19 Default parameter can be set in trac.ini.31 Default parameter can be set in your `trac.ini` file: 20 32 21 {{{ 33 {{{#!ini 22 34 [moviemacro] 23 35 width = 320px … … 26 38 }}} 27 39 28 '''Note''': 29 30 For attachments, Flowplayer tries to resolve to an appropriate size, but ignoring width/height settings. This is because Flowplayer settings has `adaptiveRatio=true` by default in MovieMacro. It's preferred to adjust the player size automatically, than select a particular size in almost every case. 40 '''Note''': For attachments, Flowplayer tries to resolve to an appropriate size, but ignoring width/height settings. This is because Flowplayer settings has `adaptiveRatio=true` by default in MovieMacro. It's preferred to adjust the player size automatically, than select a particular size in almost every case. 31 41 32 42 If you don't want that behavior, pass `adaptiveRatio=false` as a query string and `style=width: 320px; height:240px;` parameter. See also: https://flowplayer.org/docs/setup.html … … 59 69 60 70 Then reference your file like so: 61 {{{ 62 #!sh 71 {{{ #!sh 63 72 [[Movie(htdocs://site/filename.flv)]] 64 73 }}} … … 66 75 You can also attach the file to a ticket, wiki page or keep it in you SVN repository. Reference the file like so: 67 76 68 * Simple form if an attachment is in the ticket/wiki .77 * Simple form if an attachment is in the ticket/wiki: 69 78 {{{ #!sh 70 79 [[Movie(sample.webm)]] 71 80 }}} 72 81 73 * Restricted ImageMacro format style 82 * Restricted ImageMacro format style: 74 83 {{{ #!sh 75 84 [[Movie(ticket:123:sample.mp4)]] … … 77 86 }}} 78 87 79 * Fully qualified form .88 * Fully qualified form: 80 89 * from your project's htdocs: `htdocs://site/filename.flv` 81 90 * from a plugin's htdocs: `htdocs://plugin/dir/filename.flv` … … 83 92 * from an attachment on a wiki page: `wiki://WikiWord/filename.flv` 84 93 * from your SVN repository revision `[1024]`, you can also use `HEAD` as your revision: `source://1024/trunk/docs/filename.flv` 85 86 == Bugs/Feature Requests87 88 Existing bugs and feature requests for MovieMacro are [query:status!=closed&component=MovieMacro&order=priority here].89 90 If you have any issues, create a [/newticket?component=MovieMacro new ticket].91 92 [[TicketQuery(component=MovieMacro,group=type,format=progress)]]93 94 94 95 == Recent Changes