Forum Discussion

skiiiks's avatar
skiiiks
Copper Contributor
Mar 29, 2023

Animated GIF are not working in Microsoft Teams Snippet Previews

When Microsoft Teams (no matter desktop or web) creates a preview of an URL (the snippet), if in the metatags the image is an animated gif, the result is corrupted (there's "dirty vanishing snow" in the first frames)

 

Microsoft Teams is using this internal service to create that thumbnail:

https://urlp.asm.skype.com/v1/url/image/Thumbnail?url={the_url_of_the_gif}

 

And no matter the GIF I tried, all of them results in a corrupted preview:

https://urlp.asm.skype.com/v1/url/image/Thumbnail?url=https://i.gifer.com/embedded/download/7CLk.gif

 

I don't know the methods used in that "Thumbnail" method because it's a private API of Skype (part of Microsoft).

 

Does anyone know how to solve this?

 

I do need to use GIF for URL preview. I know I could code an extension an create my own kind of snippet, but it's not applicable, I can not tell users to install any extension.

 

I'd like to solve the GIF conversion corruption this API method could have ... maybe it's something about the headers of the GIF, or the palette, or ...

 

Any ideas ?

 

More examples:

https://urlp.asm.skype.com/v1/url/image/Thumbnail?url=https://i.stack.imgur.com/aXnUl.gif
https://urlp.asm.skype.com/v1/url/image/Thumbnail?url=https://i.stack.imgur.com/p6tME.gif
https://urlp.asm.skype.com/v1/url/image/Thumbnail?url=https://i.stack.imgur.com/T3UcQ.gif
https://urlp.asm.skype.com/v1/url/image/Thumbnail?url=https://i.stack.imgur.com/OPjCq.gif

No RepliesBe the first to reply

Resources