filestack-js icon indicating copy to clipboard operation
filestack-js copied to clipboard

Handling failure or unsuccessful response for preview/slide task

Open codemilan opened this issue 4 years ago • 0 comments

Is there any way to know that the specified filehandle is previewable without actually running the preview task ?

I'm using document previewer with one of the below way:

client.preview('handle', {id: 'domid'})
OR
<iframe src="preview_generated_url">

on failure for both the cases, that is preview URL returning other than success codes, I would like to show alternative default image, how can I approach. Thank you.

codemilan avatar Jun 01 '21 11:06 codemilan