forum.coppermine-gallery.net

Support => cpg1.6 plugins => cpg1.6.x Support => cpg1.6 plugin contributions => Topic started by: ron4mac on April 06, 2020, 08:22:38 pm

Title: Video thumbnail creator
Post by: ron4mac on April 06, 2020, 08:22:38 pm
This plugin allows you to set the thumbnail for a video from the video itself. When on the intermediate page for the video (only admin users), there will be a button to create a thumbnail from the video's current frame. So you can position the video where you want, hit the button and the thumbnail will be set. It will require a modern web browser and will (currently) only work with videos handled by the CPG HTMLV player.

Note: if you have already created custom thumbnails for the videos that are .png files, it will be necessary to remove the .png files.

Updated: 11 May 2020, v0.9
Will now work with the Flash Media Player (https://forum.coppermine-gallery.net/index.php/topic,79278.0.html). This video thumbnail creator plugin must be listed AFTER the media player plugin in the Plugin Manager.
Title: Re: Video thumbnail creator
Post by: Phill Luckhurst on April 08, 2020, 08:04:12 pm
A fine bit of work. Something positive comes out of all the lockdown time.
Title: Re: Video thumbnail creator
Post by: rogeriogottardi on April 16, 2020, 09:15:42 pm
It doesn't work for me. I've deleted the .png file and when I try to generate the thumb, i've got the follow message "FAILED: could not parse image data".  :(
Title: Re: Video thumbnail creator
Post by: ron4mac on April 16, 2020, 09:22:16 pm
What OS and web browser are you using?
Title: Re: Video thumbnail creator
Post by: rogeriogottardi on April 16, 2020, 09:25:17 pm
I'm using Windows, with Xampp server. I've tried with Firefox 75.0 and Google Chrome 80.0.
Title: Re: Video thumbnail creator
Post by: ron4mac on April 16, 2020, 09:35:25 pm
The failure is indicating that the image info the browser is sending to CPG does not match what is expected to be received. Sorry, I have no way to match your setup to explore possible issues.
Title: Re: Video thumbnail creator
Post by: rogeriogottardi on April 16, 2020, 11:30:13 pm
I've tried to change the server from Xampp to Wampp and it works! Thank you.