Piwigo / piwigo-videojs

Videojs port for piwigo. Play your videos on your web gallery!
http://piwigo.org/ext/extension_view.php?eid=610
GNU General Public License v3.0
67 stars 46 forks source link

Thumbnail not display #226

Closed Fancham closed 1 week ago

Fancham commented 5 months ago

Hi,

I have installed Piwigo Version 14.4.0 and VideoJS 2.9b and I can watch my videos on Piwigo but no thumbnails are displayed in the gallery. I have checked in videos folder, I found pwg_representative with jpg with same name as mp4. All seems OK but no thumbnails are generated when I synchronize. I have this message : Synchronization results 6 video(s) selected 6 video(s) with metadata added 6 poster(s) created 0 thumbnail(s) created 0 warnings during synchronization 0 erreurs survenues durant la synchronisation

Thanks for your help.

Regards

EddyLB commented 2 weeks ago

From your post, I see that the plugin has produced 6 posters (probably jpg files), i.e. one thumbnail per video stored in the upload/…/pwg_representative folder, which is fine. The mentioned '0 thumbnail(s)' are those created every x seconds for a VideoJS player. If you use the native player of your browser (recommended today), you do not need them.

Your Piwigo should automatically produce thumbnails from each poster in the _data/i/upload/…/pwg_representative folder (depends on sizes selected in Configuration / Photos sizes). If this is not the case, check the line corresponding to each video in the …_images table of your database. The attribute representative_ext should contain jpg to tell Piwigo that a representative exists in the upload/…/pwg_representative folder.

EddyLB commented 1 week ago

Fixed with version 15.d (1b9e19b4bd837ca1c2c46e86bcbf05d86a2635c5) which introduces a synchronization option to adopt downloaded posters.