I’ve been trying to solve this for a while, but I never succeed, it bothers me a lot, because my users are always complaining, but I’ll tell you everything in stages!
Before I used Discourse, my forum was made by Wordpress, in Wordpress I and the users were able to embed GIF links from imgur in the forum without any problem, and we were able to embed GIF links from the Worpress server itself in the forum, without any problem also!
In Discourse the following happens, any gif link uploaded on my server, does not embed in my forum!
In the case above, a member of my forum uploaded a gif and when another member tries to copy the LINK and puts it in the text box, it doesn’t embed!
This makes it difficult for me to use these links to put on imgify-words
Then something even worse happens, which gives me a lot of headache, because my users charge and I don’t know what to do!
Most of the GIFS uploaded on IMGUR are not incorporated in my forum as GIFs, but as MP4, and that’s when they are incorporated, because most don’t!
But when it embeds, it looks like a video
So, after a lot of investigation, I found that the IMGUR website automatically converts GIFs to MP4!
What confused me even more was that in wordpress, I never realized that I was using MP4 instead of GIFS! Because they never looked like a video (Large with play bar on the gif)
That’s when I found out that in wordpress there is something that removes the black background from the video, removes the player from the video and makes it the same size as the GIF, that is, leaves it appearing just like a gif without letting anyone know that it’s an MP4.
But in Discourse this doesn’t happen.
What can I do about these two things?
1 - How do I embed GIFs that are uploaded by my own users in my forum?
2 - How do I make sure that when an mp4 is embedded on my website, it looks like a GIF instead of a video? Ou seja, com o tamanho pequeno e sem player e não com aquele tamanho grande e com player? (Será que existe um codigo pra isso mudar isso)
The gif on
forgot to mention one thing
When the GIF is uploaded to the imgur, the imgur transforms it into an MP4, but if you delete the end of the link and put PNG in place of the MP4, it has no player bar, no black background of the video and no big size (It stays the size of a gif)
So, I suppose in Wordpress, they automatically take the .MP4 and put the .PNG in the imgur links to be the same (size, no black background and no player bar) gifs
without changing anything in the link
changing the link to PNG in the browser, pressing enter and copying the link (If you do this in the discourse text box, it won’t work) att I just found out that when switching to PNG and pressing enter in the browser, it puts a letter i at the beginning of the gif link, that’s why it only works in the browser, it inserts something else in the link
changing to “become” GIF, but with .png and i.
from what I understand, then wordpress automatically changes the mp4 links to that last link that I showed for the mp4 to turn into a kind of fake gif