fraigo / online-video-thumbnail-generator

Online video thumbnail generator using HTML and Javascript
https://fraigo.github.io/online-video-thumbnail-generator/
MIT License
44 stars 26 forks source link

Thumbnail url not loading #8

Open Henry20152024 opened 3 months ago

Henry20152024 commented 3 months ago

Hello there, I a trying to create a thumbnail but I am having an issue as the video will not load up to allow me take a screenshot. I click on https://fraigo.github.io/online-video-thumbnail-generator/ . I then click "Choose video from url" I enter the url e.g c00_e02_about_the_sec_plus_701_exam.mp4

image

Video does not load. Can someone help? Thanks

fraigo commented 3 months ago

For video URL you need the full URL (host + full path) to the resource publicly available. If it’s not available this way you can first download the video (or if you already saved the video locally) then use Load from File

I hope that helps

Regards F.Igor

On Tue, May 28, 2024 at 2:32 AM Henry20152024 @.***> wrote:

Hello there, I a trying to create a thumbnail but I am having an issue as the video will not load up to allow me take a screenshot. I click on https://fraigo.github.io/online-video-thumbnail-generator/ . I then click "Choose video from url" I enter the url e.g c00_e02_about_the_sec_plus_701_exam.mp4

image.png (view on web) https://github.com/fraigo/online-video-thumbnail-generator/assets/170947309/4271a217-d302-466e-a3b7-d623b690425a

Video does not load. Can someone help? Thanks

— Reply to this email directly, view it on GitHub https://github.com/fraigo/online-video-thumbnail-generator/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6GHB3YXSD6UTZE76U4PRDZERFKRAVCNFSM6AAAAABIMRGMBSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDANJYGEZDQMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Henry20152024 commented 3 months ago

Thanks. I have been using a full url. An example of an url is as follows

https://www.globallearningsolutions.co.uk/draftfile.php/333/user/draft/6342036/c17_e01_monitor_technologies.mp4

I have up until last week been able to get a thumbnail by clicking on "Video from url" , then copying the url into Video url screen and the video loaded.

image mp4

It has suddenly stopped working. Yes, I can download the video and upload the file and this works but it is more time consuming. Any ideas why it might have stopped working? Any advice appreciated

fraigo commented 3 months ago

I've checked that URL and it needs login/authentication to be viewed, so probably that's the issue. External vIdeo URLs should be publicly/anonymously accessible to be able to extract the thumbnail in a secure context. If that video worked before, one reason could be they changed the way the video it's served (for me it's redirecting to a login page). Also check if you have been login first into the site. Last reason could be the increased security in browsers for the video connection for processing, forcing it to be anonymous (and probably skipping login credentials). There is a way to use existing credentials so I think I need to add an option to enable this way. Please check from your side and I'll come back later to confirm if there is an option to make it work with authenticated connections.