Page 1 of 1

Lỗi autoplay ảnh gif trên Centos-vpssim

PostPosted:27 Mar 2019 23:30
by parkchunghee
Chào các bác.

Hiện tại tôi đang dùng 1 theme chia sẻ ảnh, trong đó có cả anh gif mà nó sẽ tự autoplay ảnh đó, nhưng 1 số ảnh nhẹ thì play, còn ảnh nặng hơn thì không thể play, hỏi bên theme họ bảo cấu hình ở trong PHP mà không rõ cấu hình như nào, và nguyên văn của bên đó nói như sau

Your gifs should autoplay, as per coding instructions.
If this was a function error, zero gifs would autoplay.

I advise you that you ask your hosting provider regarding possible php configuration restrictions like big filesized gifs, in which they prevent autoplay, etc

Xin hỏi các bác giải quyết cái này như nào, vì mình có mail qua lại thì họ chỉ nói là dev chứ ko phải devops để fix được cái này :(.

Re: Lỗi autoplay ảnh gif trên Centos-vpssim

PostPosted:28 Mar 2019 10:12
by nguyenoanh
Chào bạn.
Bạn gửi file gif lỗi trên website bạn vào hòm thư của mình giùm mình.
Mình thử check xem ntn ?
Thanks,

Re: Lỗi autoplay ảnh gif trên Centos-vpssim

PostPosted:28 Mar 2019 10:17
by parkchunghee
nguyenoanh wrote:Chào bạn.
Bạn gửi file gif lỗi trên website bạn vào hòm thư của mình giùm mình.
Mình thử check xem ntn ?
Thanks,
Vâng, bác đợi chút gửi em

Re: Lỗi autoplay ảnh gif trên Centos-vpssim

PostPosted:29 Mar 2019 11:29
by parkchunghee
Hiện tại bác Oánh khá bận, nếu anh em nào biết fix vấn đề này thì báo mình nhé.

Mình đã trao đổi rất nhiều với bên theme, nhưng họ cũng không giúp được gì hơn vì cái này do cấu hình PHP.

LEVEL II SUPPORT (STAFF) 28/03/2019 (19:46)
Converting a video to gif has nothing to do with your case.
Your website should work with GIF autoplay, unless there is a misconfiguration on your PHP level.
We are not able to assist you on your hosting issues regarding PHP - I am really sorry but this is completely outside the scope of the support provided for the product.

ANH PHAM (CLIENT) 28/03/2019 (18:14)
I contacted the service provider, but now they can't help me any more, I'm stuck with this problem, do you have any other solution?
For example, I learned about converting gif to video, webm format using ffmpeg technology
https://www.smashingmagazine.com/2018/11/gif-to-video/

Do you know it, and can I use it?

LEVEL II SUPPORT (STAFF) 27/03/2019 (20:33)
This is not a coding issue, so we cannot help, unfortunately.
You need to have a system administrator take a look at your PHP configuration and alter whatever is needed, in order to ensure that there are no restrictions on server side.

We are not familiar with hosting stuff - sorry. If you are not aswell, I advise you to purchase some management plan from your hosting provider.