Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piwigo VideoJS Uses Generic Thumbnails #195

Open
rajagidh opened this issue Dec 16, 2022 · 5 comments
Open

Piwigo VideoJS Uses Generic Thumbnails #195

rajagidh opened this issue Dec 16, 2022 · 5 comments

Comments

@rajagidh
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link

zodac commented Dec 23, 2022

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
Copy link

brentkearney commented Feb 25, 2023

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.

@EddyLB
Copy link
Contributor

EddyLB commented Nov 3, 2024

@zodac , @brentkearney , do you still encounter this issue with the version 15.c?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@brentkearney @zodac @EddyLB @rajagidh and others