We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Screenshots and Video Grabs

Home Forums General Questions Screenshots and Video Grabs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29500
    Avatargrimmy
    Newbie

    Is there any way to download screenshots of my app at a size specified by the user and/or download gameplay of my app as a video? (some kind of screen recording functions)

    Cheers

    • This topic was modified 5 months ago by Avatargrimmy.
    #29714

    Hi,

    You can download a screenshot of what’s rendered on a 3d scene via the take screenshot and download file puzzles. See here for more info: https://www.soft8soft.com/docs/manual/en/puzzles/HTML.html#download_file.

    EDIT: you also need to enable screenshots in your application via the configure_application puzzle. The option you need is called ‘enabled screenshots’.

    Co-founder and lead developer at Soft8Soft.

    #29722
    Avatargrimmy
    Newbie

    Cool. And what about grabbing video? Could I theoretically use something like GetDisplayMedia if I created all the functions in Javascript? Or maybe there is another way?

    #29725

    Could I theoretically use something like GetDisplayMedia if I created all the functions in Javascript?

    Actually, yes. You can grab a video stream from the canvas element and download it.

    Here’s a simple snippet which you can add into the runCode function in your app’s js file:

    It adds a button to start recording and after you stop it automatically downloads the video in the webm format. Although, this snippet may not work in some browsers if some API features that’s used there are not supported, I only tested it in the latest Google Chrome version.

    Co-founder and lead developer at Soft8Soft.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.