Changes between Version 16 and Version 17 of MovieMacro
- Timestamp:
- Nov 5, 2014, 4:27:23 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MovieMacro
v16 v17 4 4 == Description == 5 5 6 Embed online movies from [http ://www.youtube.com/ YouTube], [http://video.google.com/ GoogleVideo] and [http://www.metacafe.com/ MetaCafe], and local movies via [http://flowplayer.org/ FlowPlayer]. If you want support for more online sites just create a ticket.6 Embed online movies from [https://www.youtube.com/ YouTube], [http://www.metacafe.com/ MetaCafe] and [https://vimeo.com/ Vimeo], and local movies via [http://flowplayer.org/ FlowPlayer]. If you want support for more online sites just create a ticket. 7 7 8 8 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. … … 20 20 Download the [download:moviemacro zipped source], check out [http://trac-hacks.org/svn/moviemacro using Subversion], or [source:moviemacro browse the source] with Trac. 21 21 22 It's available if you want to install from PyPI. 23 24 - https://pypi.python.org/pypi/TracMovieMacro 25 26 == Configuration == 27 28 Default parameter can be set in trac.ini. 29 30 {{{ #!ini 31 [moviemacro] 32 width = 320px 33 height = 180px 34 splash = black.jpg ; should be put /deployed/to/movie/htdocs/img/ 35 }}} 36 37 **Notes:** 38 39 For attachments, Flowplayer try to resolve appropriate size ignoring width/height settings since flowplayer settings has `adaptiveRatio=true` by default in MovieMacro. It's preferred that adjusting player size automatically than particular size in almost every case. 40 41 If you won't the behavior, pass `adaptiveRatio=false` as a query string and `style=width: 320px; height:240px;` parameter. 42 43 - see also: https://flowplayer.org/docs/setup.html 44 22 45 == Example == 23 46 24 47 To understand [wiki:lcordier] better. 25 {{{ 26 #!sh 27 [[Movie(http://www.youtube.com/watch?v=XUfH-BEBMoY,width=425px,height=344px)]] 48 49 === Embed youtube video === 50 51 {{{ #!sh 52 [[Movie(http://www.youtube.com/watch?v=9dfWzp7rYR4&start=5&rel=0,style=width: 320px; height:240px;)]] 28 53 }}} 29 54 30 To see an overview of the Scrum development methodology... 31 {{{ 32 #!sh 33 [[Movie(http://video.google.com/videoplay?docid=-7230144396191025011)]] 55 Player's parameter can be passed as a query string. 56 57 - see also: https://developers.google.com/youtube/player_parameters 58 59 === Embed metacafe video === 60 61 {{{ #!sh 62 [[Movie(http://www.metacafe.com/watch/1768855/the_size_of_all_planets_are_relative/)]] 34 63 }}} 35 64 36 To see our scale in the universe... 37 {{{ 38 #!sh39 [[Movie(http:// www.metacafe.com/watch/1768855/the_size_of_all_planets_are_relative/)]]65 === Embed vimeo video === 66 67 {{{ #!sh 68 [[Movie(http://vimeo.com/106808835)]] 40 69 }}} 41 70 … … 51 80 You can also attach the file to a ticket, wiki page or keep it in you SVN repository. Reference the file like so: 52 81 53 * from your project's htdocs: `htdocs://site/filename.flv` 54 * from a plugin's htdocs: `htdocs://plugin/dir/filename.flv` 55 * from an attachment on ticket `#123`: `ticket://123/filename.flv` 56 * from an attachment on a wiki page: `wiki://WikiWord/filename.flv` 57 * from your SVN repository revision `[1024]`, you can also use `HEAD` as your revision: `source://1024/trunk/docs/filename.flv` 82 * Simple form if an attachment is in the ticket/wiki. 83 {{{ #!sh 84 [[Movie(sample.webm)]] 85 }}} 86 87 * Restricted ImageMacro format style 88 {{{ #!sh 89 [[Movie(ticket:123:sample.mp4)]] 90 [[Movie(wiki:test/sub/sample.mp4)]] 91 }}} 92 93 * Fully qualified form. 94 * from your project's htdocs: `htdocs://site/filename.flv` 95 * from a plugin's htdocs: `htdocs://plugin/dir/filename.flv` 96 * from an attachment on ticket `#123`: `ticket://123/filename.flv` 97 * from an attachment on a wiki page: `wiki://WikiWord/filename.flv` 98 * from your SVN repository revision `[1024]`, you can also use `HEAD` as your revision: `source://1024/trunk/docs/filename.flv` 58 99 59 100 == Recent Changes ==