Changes between Version 19 and Version 20 of MovieMacro
- Timestamp:
- Mar 5, 2015, 1:13:15 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MovieMacro
v19 v20 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Safely embed various movies into ticket or wiki pages =3 2 4 = = Description ==3 = Safely embed various movies into ticket or wiki pages 5 4 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. 5 == Description 6 7 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 [MovieMacro#BugsFeatureRequests create a ticket]. 7 8 8 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. 9 10 10 == Bugs/Feature Requests == 11 12 Existing bugs and feature requests for MovieMacro are 13 [query:status!=closed&component=MovieMacro&order=priority here]. 14 15 If you have any issues, create a 16 [/newticket?component=MovieMacro new ticket]. 17 18 == Download and Source == 11 == Download and Source 19 12 20 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. 21 14 22 It 's available if you want to install from PyPI.15 It is available from PyPI also: [pypi:TracMovieMacro]. 23 16 24 - https://pypi.python.org/pypi/TracMovieMacro 25 26 == Configuration == 17 == Configuration 27 18 28 19 Default parameter can be set in trac.ini. … … 35 26 }}} 36 27 37 **Notes:** 28 '''Note''': 38 29 39 For attachments, Flowplayer tr y 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 thanparticular size in almost every case.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 31 41 If you won't the behavior, pass `adaptiveRatio=false` as a query string and `style=width: 320px; height:240px;` parameter.32 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 42 33 43 - see also: https://flowplayer.org/docs/setup.html 34 == Examples 44 35 45 == Example == 46 47 To understand [wiki:lcordier] better. 48 49 === Embed youtube video === 36 === Embed youtube video 50 37 51 38 {{{ #!sh … … 57 44 - see also: https://developers.google.com/youtube/player_parameters 58 45 59 === Embed metacafe video ===46 === Embed metacafe video 60 47 61 48 {{{ #!sh … … 63 50 }}} 64 51 65 === Embed vimeo video ===52 === Embed vimeo video 66 53 67 54 {{{ #!sh … … 69 56 }}} 70 57 71 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 72 directory. For !YouTube movies I would suggest you try [http://rg3.github.io/youtube-dl/ youtube-dl]. 58 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, try [http://rg3.github.io/youtube-dl/ youtube-dl]. 73 59 74 60 Then reference your file like so: … … 98 84 * from your SVN repository revision `[1024]`, you can also use `HEAD` as your revision: `source://1024/trunk/docs/filename.flv` 99 85 100 == Recent Changes == 86 == Bugs/Feature Requests 87 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 == Recent Changes 101 95 102 96 [[ChangeLog(moviemacro, 3)]] 103 97 104 == Author/Contributors ==98 == Author/Contributors 105 99 106 100 '''Author:''' [wiki:lcordier] [[BR]]