laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 258 forks source link

Thumbnail is not generating for video assets #723

Open bshovon opened 2 years ago

bshovon commented 2 years ago

versions

Steps to reproduce the issue

Generating dynamic snapshot with following command: xvfb-run -a /plugins/slimerjs/slimerjs /plugins/slimerjs/createThumbnail.js Test-Image.png 1280px*720px 1500 debug=true Note: Snapshot generation is working fine with Images. It's failing only for video assets.

Actual results:

Dynamic thumbnail generation is not proper for video assets, blank screen/ video player loading Icon is coming in the dynamic screenshot screen Error log: [DEBUG] network: resource #55 response in error (3): 99 - an unknown network-related error was detected (NS_ERROR_UNEXPECTED)

Expected results:

Dynamic snapshot should contains actual video poster Image.