Closed mdbnet closed 7 years ago
Hi @mdbnet , thank you for reporting this, as you described Instacapture works fine with webView but videos in webView or even in the desktop browsers is rendering in a different way so we can't get a screenshot directly from it, I think you have to find youtube API to get a screenshot from the player.
Hi. I was curious if this library could capture an image of a video in a WebView, so I added a "Web View Sample" button to my local copy of the project. This just opens a WebView displaying the YouTube page.
Before I pressed the "Capture" button I just clicked on a movie to start it playing. The screenshot contains the YouTube page, and the video playing controls. But where the video would be it is just black. I also tried another site with videos ("http://www.quirksmode.org/html5/tests/video.html") but with the same results.
Do you think there is a way to capture the video image? If you have any ideas please let me know.
The sample code is below.