Placing a movie with the following code places the static overlay a bit (too far) to the right, spilling it on the right side out of the frame:

\useexternalrendering[sharkfilm][video/quicktime][shark.mp4]
\defineoverlay
        [shark][{\externalfigure[shark-film][width=\overlaywidth,type=jpg]}]
\starttext
...
\midaligned{%\framed[offset=0pt, strut=no, background= {foreground,shark}]%
        {\placerenderingwindow[movie][sharkfilm]}}%

Is there some spurious space in the code? Perhaps a missing % at the end of a line? I could not spot the culprit in the code, but I might have been looking in the wrong places.

Then as an additional question:

When running the movie a thin white frame line appears around it. I find it annoying but did not find out how to get rid of it. Nor have I been able to change the background color locally (when leaving out the external figure in the overlay) or get rid of the text "Screen" that appears. I found a macro \setuprenderingwindow but did not find out about the settings it understands.

Can someone enlighten me?

Hans van der Meer


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to