vThumb.js icon indicating copy to clipboard operation
vThumb.js copied to clipboard

Cannot generate thumbnails from a Url.

Open Rajesh-Royal opened this issue 3 years ago • 1 comments

A user is not able to generate thumbnails from a video file URL.

Error:

Access to video at 'https://xyz.com/file_example_MP4_640_3MG.mp4' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Acceptance criteria It should generate thumbnails from a video file URL

Rajesh-Royal avatar Oct 16 '22 05:10 Rajesh-Royal

setting "crossorigin" attribute with "anonymous" to video element may help. reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin

GetLiberated avatar Nov 08 '23 03:11 GetLiberated