Screenshots of Websites with flash or plugins

Archived from the Transloadit support forum. Originally posted on June 16, 2014; details may be outdated, see our docs for current behavior. Original thread

Hi, I want to know if is possible to add the option to enable the plugins and flash (–enable-plugins ) to get best snapshots for some webs like youtube.com

Hi Francisco,

Sorry for the late reply, your question appears to have been closed right after creation for some reason.

We’ll investigate, but it looks like we’ll have to do some tricks first: https://code.google.com/p/wkhtmltopdf/issues/detail?id=597 as my initial attempts of capturing http://www.adobe.com/devnet/actionscript/samples/drawing_4.html with a simple wkhtmltoimage --enable-plugins 'http://www.adobe.com/devnet/actionscript/samples/drawing_4.html' test.png only returned the attached screenshot.

More later!

Kind regards,
Kevin

Hi Francisco,

I’ve been at it for 2 hours, but even when installing the flash .so, using a delay, running wkhtmltox inside an xserver framebuffer, and telling it to --use-xserver, I get no flash rendering.

Given the amount of work it would take and you being the first one to ask for it I should conclude my research as it not being feasible to implement it at this point.

Would it be possible for you to use the html5 version of youtube (assuming that was the specific usecase you were after). We might be able to help you with a workaround there, e.g. changing urls to include &webm=1 on the fly. I have not tested if this works, but would like to hear your thoughts before doing so.

Kind regards,
Kevin

Hi, first at all, thanks for try to develop it.
I have tested if charging the &webm=1 on the url for youtube works, and it dont work for me. Do you have some other suggestion to solve this problem? If it works for some popular web pages will be really useful for me.

test assembly:
REDACTED

Hi Francesco,

The trick apparently only works for youtube, and not on all videos it seems. So definitely not a good solution to render all flash things on the web.

I guess I’ll have to disappoint you Francisco. Flash is a dying species, and it would take a huge effort on our part to support this. If there was nothing else we could work on I would have been happy to walk the extra mile for you, but our resources are currently better spent on video/encode, infra, and security upgrades.

Kind regards, and sorry to let you down,
Kevin