Re: [mediacapture-viewport] getViewportScreenshot (younger sibling of getViewportMedia) (#2)

For my purposes I would love to give getViewportScreenshot a DOM node to take screenshot of to further minimize what is actually captured, similar to how requestFullscreen displays a specific part of the document. What I really want to get rid of from getDisplayMedia are all the options for the user to make mistakes and capture the wrong thing. I want to present them with one thing and have them go yes or no. I'm not against giving the user the option to trim or black out stuff if they want to, as long as it doesn't give any extra steps if you don't want to. In my main purpose the result is saved to the user's computer, but I realize the security question can't say "Save", since the browser doesn't have a simple way to enforce it.

Using the input tag feels like a throwback to Opera Mini where type="file" would always just open the camera and then upload the result. The less active HTML is the better in my opinion. Have it deal with layout and content, and move everything event based to JavaScript.

-- 
GitHub Notification of comment by github-nilsson
Please view or discuss this issue at https://github.com/w3c/mediacapture-viewport/issues/2#issuecomment-1185045201 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 15 July 2022 00:17:52 UTC