You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tenor API returns other media types besides GIF. It would be great if the TenorImage object returned a media object with all of the potential types, instead of picking out the gif and returning it.
I've just realized that you are including the gif and tiny gif in the parameters. It would be amazing if these were configurable. You could specify which files you want in the media object.
The Tenor API returns other media types besides GIF. It would be great if the TenorImage object returned a media object with all of the potential types, instead of picking out the gif and returning it.
const media = img['media_formats'];
For reference: https://developers.google.com/tenor/guides/response-objects-and-errors#content-formats
My application uses a lot of gifs on one page, and it's significantly more performant to use MP4s when they are available. It also loads a lot faster.
The text was updated successfully, but these errors were encountered: