[dev-context] three rendition options

Pablo Rodriguez oinos at gmx.es
Fri Dec 30 12:43:26 CET 2022


Hi Hans,

Michal Vlasák send me the attached patch to be able to set volume,
opacity and repeat for renditions, such as in:

  \setupinteraction[state=start]
  \starttext
  \null\page
  \definerenderingwindow[myrenderingwindow]
    [width=\textwidth, height=\textwidth,
     openpageaction=StartRendering{\currentrendering},
     closepageaction=StopRendering{\currentrendering}]
  \startTEXpage[offset=1ex, pagestate=start]
  \userendering[key-name][video/mp4][video.mp4]
    [embed=yes, volume=25]
  \placerenderingwindow[myrenderingwindow][key-name]
  \stopTEXpage
  \null\page
  \stoptext

He asked me to submit the patch to ConTeXt to be merged, since he lacks
the free time to submit it himself.

Many thanks for your help,

Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rendition-options.diff
Type: text/x-patch
Size: 3198 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20221230/377b166b/attachment.bin>


More information about the dev-context mailing list