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

  • Thông báo lỗi bạn gặp và mọi người giúp fix.

Thông báo lỗi bạn gặp và mọi người giúp fix.
 #5944  by parkchunghee
 27 Mar 2019 23:30
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 :(.
Get 25 USD Free To USE VPSSIM
 #5999  by parkchunghee
 29 Mar 2019 11:29
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.
Get 25 USD Free To USE VPSSIM