Changes between Version 25 and Version 26 of MovieMacro


Ignore:
Timestamp:
May 27, 2022, 9:55:47 PM (2 years ago)
Author:
figaro
Comment:

Move example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • MovieMacro

    v25 v26  
    88
    99This plugin supports the preview rendering of movies in the browser and on attachment pages.
    10 
    11 == Bugs/Feature Requests
    12 
    13 Existing bugs and feature requests for MovieMacro are [report:9?COMPONENT=MovieMacro 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 zipped source from [export:moviemacro here].
    22 
    23 There is also a version on [pypi:TracMovieMacro PyPI].
    24 
    25 == Source
    26 
    27 Check out MovieMacro using Subversion from [/svn/moviemacro here], or [source:moviemacro browse the source] with Trac.
    28 
    29 == Installation
    30 
    31 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    32 
    33 == Configuration
    34 
    35 Default parameter can be set in your `trac.ini` file:
    36 
    37 {{{#!ini
    38 [moviemacro]
    39 width = 320px
    40 height = 180px
    41 splash = black.jpg  ; should be put in /deployed/to/movie/htdocs/img/
    42 }}}
    43 
    44 Also, 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:
    45 {{{#!ini
    46 [attachment]
    47 max_size = 262144
    48 
    49 [mimeviewer]
    50 max_preview_size = 262144
    51 }}}
    52 
    53 '''Note''': For attachments, [https://flowplayer.org/ 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 is preferred to adjust the player size automatically, rather than select a particular size in almost every case. 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
    54 
    55 == Examples
    5610
    5711=== Embed youtube video
     
    10256  * from your SVN repository revision `[1024]`, you can also use `HEAD` as your revision: `source://1024/trunk/docs/filename.flv`
    10357
     58== Bugs/Feature Requests
     59
     60Existing bugs and feature requests for MovieMacro are [report:9?COMPONENT=MovieMacro here].
     61
     62If you have any issues, create a [/newticket?component=MovieMacro new ticket].
     63
     64[[TicketQuery(component=MovieMacro,group=type,format=progress)]]
     65
     66== Download
     67
     68Download the zipped source from [export:moviemacro here].
     69
     70There is also a version on [pypi:TracMovieMacro PyPI].
     71
     72== Source
     73
     74Check out MovieMacro using Subversion from [/svn/moviemacro here], or [source:moviemacro browse the source] with Trac.
     75
     76== Installation
     77
     78General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     79
     80== Configuration
     81
     82Default parameter can be set in your `trac.ini` file:
     83
     84{{{#!ini
     85[moviemacro]
     86width = 320px
     87height = 180px
     88splash = black.jpg  ; should be put in /deployed/to/movie/htdocs/img/
     89}}}
     90
     91Also, 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:
     92{{{#!ini
     93[attachment]
     94max_size = 262144
     95
     96[mimeviewer]
     97max_preview_size = 262144
     98}}}
     99
     100'''Note''': For attachments, [https://flowplayer.org/ 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 is preferred to adjust the player size automatically, rather than select a particular size in almost every case. 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
     101
    104102== Recent Changes
    105103