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
64 stars 45 forks source link

Piwigo VideoJS Uses Generic Thumbnails #195

Open rajagidh opened 1 year ago

rajagidh commented 1 year ago

Hello,

I have created this account to seek community's help but after reading through all the possible discussions on this topic and doing my own investigation.

Problem: Photo albums show thumbnails at the bottom of the image in carousel. But video albums don't. Instead they show a generic mp4.png image somewhere from the, src="plugins/piwigo-videojs/mimetypes/mp4.png" . I have checked and can see that the VideoJS sync has created the thumbnails and put them in the right directory i.e. pwg_representative. But for some reason the video pages cannot successfully find and show them. I have installed all of the required software for VideoJS i.e. ffmpeg, exiftools, mediainfo, and ffprobe. I am using the Bootstrap Darkroom theme. Please see the details of my Piwigo environment below. Let me know please if you need additional details. Thank you for your help in advance! Please note, I do not see any errors.

I have uploaded the images here:

  1. https://ibb.co/YfRb8wB - this is a normal photo album showing the thumbnails properly
  2. https://ibb.co/wMtky5h - this is a VideoJS video album showing the generic thumbnails

Environment

Piwigo 13.3.0 Operating system: Linux PHP: 8.0.25 (Show info) [2022-12-13 03:49:07] MySQL: 10.3.28-MariaDB [2022-12-13 14:49:07] Graphics Library: ImageMagick 6.9.10-86

Activated plugin list6 Admin Tools Force HTTPS LocalFiles Editor Personal Plugin PWG Stuffs VideoJS

Theme Bootstrap Darkroom

rajagidh commented 1 year ago

Hi - I just got notified by the Piwigo team that they have updated the Bootstrap Darkroom theme to address this issue which I can confirm as I updated this theme to the latest version on my side and it's showing the video album thumbnails. Please update this theme to the latest version and it should fix the problem. Good luck!

rajagidh commented 1 year ago

Hi - my request to fix this issue was specific to the Bootstrap Darkroom theme. Please try to switch the themes to see if that helps ... it should because that's the case for me. You can also try to request the Modus theme developers to see if they can update the code similar to what Bootstrap Darkroom coders have done. Good luck!

zodac commented 1 year ago

I've just set up a brand new Piwigo install with videojs, synchronized some albums and am also seeing the placeholder thumbnail. No extra plugins (just whatever is provided in the https://hub.docker.com/r/linuxserver/piwigo docker image).

brentkearney commented 1 year ago

Like @zodac, I have a fresh install with the linuxserver docker image, and the videojs plugin. No thumbnails are showing, although I can verify in the container shell that ffmpeg generates them just fine. There are jpegs with names corresponding to the video file names in the "pwg_representative" sub-folder, but this is the thumbnail I see in my desktop browser:

thumbnail

In the mobile version, there is nothing, so videos cannot be played (because there's nothing to click on). Any tips?

I was using the default "Modus" theme, and switched to the Bootstrap Darkroom theme after reading @rajagidh's comment. No difference.