Discourse Gifs component

Did you upgrade Discourse recently too?

I believe you need to be at least as recent as this commit to be able to use it : FEATURE: Allow video tag attributes for video gifs · discourse/discourse@7253422 · GitHub

2 Likes

Thanks, I do NOT have much knowledge of the subject, how do I install that JS?

1 Like

The theme-component had several updates so check if you have any pending updates for it.

2 Likes

Thanks :heart:

In fact, today I did the update of the theme-component, possibly the problem is what @Steven mentioned, I’m going to check.

1 Like

You need to visit /admin/upgrade on your site and update to latest.

5 Likes

Thank you so much :heart: :wink:

1 Like

You have made me so happy today @Falco.

5 Likes

Added a pause on blur and some optimistic blocking filter for media with audio.

5 Likes

Seem to me to be a positive pausition to take.

5 Likes

Thanks added to my community

3 Likes

This is such a fun theme component. Added!

Thank you @Falco and @joffreyjaffeux

Well done!

3 Likes
3 Likes

Is there any way that instead of showing 8 gifs as a search result, there are 20, for example?

3 Likes
2 Likes

I want it to have infinite scroll of results on desktop, just don’t have the time to take it for a couple of days.

5 Likes

Thank you very much, it would be wonderful if you could do it. :heart:

4 Likes

Hi, I have this installed and some of my users are encountering an error where the videos are not loading at all. The div where the video should be seems to be appearing (based on an image the user posted), just not the video. I have media.tenor.com added to my disabled image download domains. I am not experiencing this and my initial digging doesn’t show anything I find suspicious. An example of a generated div that is not showing is:

<div data-theme-discourse-gifs="container"><video muted loop autoplay playsinline disableRemotePlayback disablePictureInPicture width="360" height="288" poster="https://media.tenor.com/images/bbdc119ad29a3bbac7ba22d88c5c0d1c/raw" alt="AAAAAH!" title="AAAAAH!"><source src="https://media.tenor.com/videos/d3fc66e9736338906ad487842d7105df/mp4"></video><img src="https://media.tenor.com/videos/d3fc66e9736338906ad487842d7105df/mp4" width="360" height="288"></div>

and the result for these users looks like

The image that is loaded was uploaded specifically, so it’s available on our server. The rest are from the component.

I realize this is not a lot to go on. I have reached out to two users experiencing this to get OS and browser information to try to help in any way I can. If there is anything else I can provide please let me know.

1 Like

Can you link me to the topic where this is happening?

We’re on a private server so unfortunately I can’t provide public access.

@Falco I was able to track down one user’s problem to tenor being blocked by at work (I didn’t realize they were trying to access at work or I would have had them test tenor straight away). The other user is on IPadOS 14 public beta 2 Safari, but reports things are working on his non-beta IOS devices. Given that you might want to look into what’s being changed in the new version of IPadOS to head off potential incompatibility.

2 Likes