You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Maui app which uses the MediaElement component to play a video. When I call the Screenshot.Default.CaptureAsync() method, the resulting screenshot contains all the page elements in the image apart from the video. Instead of the video screengrab I just have a black background. I presume it has something to do with the way the video is rendered and there isn't much I can do about it. Can anyone suggest any other way to achieve a full screenshot? If I use SkiaSharp would that just capture the skia canvas and not anything else that is rendered outside of it in the content page itself? Thoughts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Maui app which uses the MediaElement component to play a video. When I call the Screenshot.Default.CaptureAsync() method, the resulting screenshot contains all the page elements in the image apart from the video. Instead of the video screengrab I just have a black background. I presume it has something to do with the way the video is rendered and there isn't much I can do about it. Can anyone suggest any other way to achieve a full screenshot? If I use SkiaSharp would that just capture the skia canvas and not anything else that is rendered outside of it in the content page itself? Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions