I am trying to use the browser rendering API to screenshot a page with a <video> element and I canno

I am trying to use the browser rendering API to screenshot a page with a <video> element and I cannot get the video to render. To make sure that the video is getting a chance to load, I tried triggering the video to play, waiting 5 seconds, triggering pause, and then captured the screenshot at that point, and it shows the progress bar in the video controls as being 5 seconds into the video, but the video itself is just a white background (see attached). searching back in this channel, I saw browser-rendering-api that indicated that the version of chromium being used supports some proprietary video / audio codecs, including video/H264, but the video I am testing with is H.264, so it seems like that might not be accurate. Does anyone know if there is any chance that this will eventually work? [a couple of related issues in the puppeteer github repo: 291 and 381]
video_screenshot_example.png
Was this page helpful?