您好,游客!

您好,新朋友。点击以下按钮加入我们!

Broken animated gifv images

About: Use Tumblr Raw Image

Found a broken animated image on http://raikissu.tumblr.com/post/175730802572/oh-my-gosh-i-have-that-exact-same-spyro-shirt
The problem seems to be that the image is not a regular gif, but a gifv. There's no check for that file type yet in the script.
Just adding it as an AND to the gif check should work.
if ((match[5] !== ".gif") && (match[5] !== ".gifv"))

评论

  • Ah, I see.

    OK. The fix has been implemented.

    Thank you for the bug report.

    PS) The "gifv" image file on that page is actually a GIF image. It's just that the file extension has been renamed to "gifv". FYI, "gifv" extension name is not an official GIF image file extension name. Just like the "cbr" comic book file, which is actually a RAR archive file which was renamed to "cbr".

  • Seems to work.

    Yeah. I know Imgur sometimes sells mp4s or webms as gifv, because they're short and loop and can be used like gifs.

登录注册后才能评论。