Announcement

#1 2019-04-26 14:56:52

mkntp123
Member
2019-04-26
2

Piwigo app won't play videos

Hello,

I'm fairly new to Linux and Piwigo so please be nice.
I have a problem that as far as I've noticed only affects playing videos in the Piwigo app on an iPhone or an iPad. I can upload videos from my iPhone app and they are shown with posters but when I try to play them the video player shows the play icon with a backslash on top and an endlessly spinning wait symbol in the bottom left corner. The video won't play.
When I try to play the same video (that I uploaded from my iPhone) using in stead the web interface it plays without any trouble at all.
Since I haven't found any posts in the forum suggesting that there would be a problem with the iPhone app I'm fairly convinced that I've made a mistake somewhere when adding the possibility for the server to handle mp4. Could anyone please give me a clue as to where my error might be hiding?

These are my environments:

Ubuntu 18.04.2
Piwigo 2.9.5
PHP: 7.2.17-0ubuntu0.18.04.1
MySQL: 5.7.25-0ubuntu0.18.04.2
Graphics library: GD 2.2.5

IOS 12.2
Piwigo app 2.3.3 (187)

Last edited by mkntp123 (2019-04-26 14:57:58)

Offline

 

#2 2019-05-01 19:49:27

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Hello,

I guess you have recorded a video on your iPhone and uploaded it directly to your Piwigo server.

The app uploads a MP4 version (even if you have activated the high efficiency format HEVC) and assumes that you have installed the piwigo-videojs as explained here.

Hope this helps.


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#3 2019-05-17 10:58:35

mkntp123
Member
2019-04-26
2

Re: Piwigo app won't play videos

Hello,
Thank you for your reply. You’re correct in your assumptions.
I haven’t had time recently to investigate further based on your reply and suddenly, to my great surprise, the problem had disappeared, seamingly by itself. In other words I haven’t made any changes to Piwigo on my server. What I have done though is acquire a domain name and started using that instead of logging in using the IP address. So I can only assume that using the domain name is the solution to my problem although I don’t know for sure.

Offline

 

#4 2019-05-17 11:11:51

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Thank you the your message.
I deduce that the mobile app did not build the correct URL when you were trying to play the video. I will try to investigate this issue.


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#5 2019-11-19 22:32:51

Gbln
Member
2019-11-19
3

Re: Piwigo app won't play videos

Hi,

I've the same issue. I've installed Piwigo on two websites, one with *.eu domain and the other with the new *.photo domain. In both cases the mp4 videos play well on the web interface; on the iPhone/iPad app the videos work well on the Piwigo hosted on the *.eu domain, while on the *.photo domain the video player gets stuck with endless spinning wheel.

Piwigo latest 2.10.1
Linux CentOs 6.10
PHP 5.6.40
MySql 5.1.73
IOS 13.2.2

Offline

 

#6 2019-11-19 22:36:45

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Hi Gbln,

Is it possible to provide me with temporary credentials so that I can investigate this issue?

Best wishes,
Eddy


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#7 2019-11-21 08:09:16

Gbln
Member
2019-11-19
3

Re: Piwigo app won't play videos

yes indeed.
should we do it privately?
best
g

Offline

 

#8 2019-11-21 08:15:41

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Yes, of course. You can use the Contact Us command in the Preferences page of the iOS app or send an email to iOS@piwigo.org (same action).

Cheers,
Eddy


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#9 2019-11-22 18:40:57

Gbln
Member
2019-11-19
3

Re: Piwigo app won't play videos

Hi Eddy,

After a clean reinstall of Piwigo the issue seems now to have disappeared as the videos play correctly (tested on iPhone with iOS 13.2.3 and iPad with iPadOS 13.2.3) on both domains, the *.eu as well as *.photo

Apologies for bothering.

Cheers

g

Offline

 

#10 2019-11-23 05:37:05

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Great. Thank you for letting me know.


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#11 2020-01-22 15:19:33

willemjaap
Member
2020-01-22
2

Re: Piwigo app won't play videos

I run into the same issue; my videos do play in the browser on iOS, but not in the app, tested on iOS 12.4.1 and 13.3
Ofcourse willing to help to tackle this, so please let me know how I can help

Offline

 

#12 2020-01-23 14:30:01

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Hi willemjaap,

Is it possible to provide me with temporary credentials using the Contact Us command located in the Preferences section of the iOS app so that I can investigate this issue?

Best wishes,
Eddy


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#13 2020-01-23 15:41:39

willemjaap
Member
2020-01-22
2

Re: Piwigo app won't play videos

Hi Eddy

Yes, done that
Thanks for looking into that

Willem

Offline

 

#14 2020-01-26 03:40:57

mattr
Member
2020-01-26
1

Re: Piwigo app won't play videos

Hi All,

I'm new to the forum but have been using piwigo for a while.  I just brought up a new CentOS 8 server with piwigo 2.10.1 with VideoJS plugin 2.9.b.  So far I'm just getting the server setup so it just has the default self-signed TLS certificate (for apache https).   The piwigo website works fine (images and video).  I installed the latest Piwigo Mobile (2.4.6) on my iPhone and pointed it to the CentOS 8 server on the local network.  Everything worked except video playback.  I tried re-encoding the mp4s with various stream configurations but the videos won't play on iOS just as mkntp123 and Gbln describe - video player gets stuck with endless spinning wheel.

Long story short, turns out it's because of the the self-signed certificate.  It appears that the video player used by Piwigo Mobile ( a built-in iOS component? ) fails playback if it can't verify the server's TLS certificate.  iOS doesn't bother to ask if you would like to proceed with caution.  It just hangs there forever.

I went back to my CentOS 7 production server (has a DNS name and a valid Let's Encrypt certificate), installed piwigo 2.10.1, VideoJS 2.9.b and put the same videos into an album.  They play as expected now on iOS (12.4.1) Piwigo Moble (2.4.6).

Hope that helps!

cheers,
matt

Last edited by mattr (2020-01-26 04:08:56)

Offline

 

#15 2020-01-27 12:02:27

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: Piwigo app won't play videos

Hi mattr,

Many thanks for the info. Issue created on GitHub.
I will have a look and see how to fix that issue in a forthcoming release of the iOS app.

Cheers,
Eddy


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact