Trying to take a screenshot of a web view in Swift for a sharing function, and while it works in simulator, on device the video part is just missing from the image, presumably due to hardware decoding of the video. Any way around this?
@christianselig I *think* that’s generally an AVPlayer handling playback under the hood, and IIRC your only real option is AVAssetGenerator, if you can even find a reference to the player within the web view. It was a long time ago, but I remember hitting a wall here too, trying to get screenshots of HTML games that had video elements.