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: phill104 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.
Title: Re: Video thumbnail creator
Post by: Dankriss on March 03, 2021, 12:56:28 pm
What is CPG HTMLV player?  Tried to search for it but can't find it as a plugin.


Thanks in advance


Kriss :)
Title: Re: Video thumbnail creator
Post by: Dankriss on July 04, 2021, 05:49:30 pm
I worked out what I needed to do and it works!  Something I have been looking for!


Kriss :)
Title: Re: Video thumbnail creator
Post by: MidnightGoddess90 on August 17, 2021, 11:26:41 am
I have this installed and it was working fine, but when i click the button to create the thumbnail it does nothing. Any help is appreciated
Title: Re: Video thumbnail creator
Post by: ron4mac on September 05, 2021, 02:03:21 pm
I have this installed and it was working fine, but when i click the button to create the thumbnail it does nothing. Any help is appreciated

I had no problem with creating a thumbnail for your other two videos using the button. So perhaps your issue may have been associated with your browser.
After creating the thumbs, I changed these things on your site to provide you with better overall results:
Used the Filetypes Editor to change MP4 files to identify as video/mp4 (mime) and HTML5 Video Tag (player).
Uninstalled the JWPlayer plugin.
Title: Re: Video thumbnail creator
Post by: MidnightGoddess90 on September 07, 2021, 02:56:23 am
I had no problem with creating a thumbnail for your other two videos using the button. So perhaps your issue may have been associated with your browser.
After creating the thumbs, I changed these things on your site to provide you with better overall results:
Used the Filetypes Editor to change MP4 files to identify as video/mp4 (mime) and HTML5 Video Tag (player).
Uninstalled the JWPlayer plugin.

Thanks so much for the help. Things seem to run more smoothly now