Getting a framegrab of the video in a player

Paul Dupuis paul at researchware.com
Sat May 28 09:01:13 EDT 2016


On 5/28/2016 8:46 AM, Tim Selander wrote:
> Hi,
>
> Once upon a time I am almost positive that I could grab a screenshot
> of the current video frame in a player, and paste it into a scrolling
> field.
>
> But I've forgotten how, and no scouring of the dictionary or google
> help. Can anyone tell me how it's done?
>
> many thanks.
>

The only way I have found is using "export snapshot" from the player
object. You first want to lock the screen and hide the controller though
so you only get the current frame. if the player border is an issue, use
the 'from rect' form of export snapshot with the player's rect less the
borderWidth on all sides.






More information about the use-livecode mailing list