This is the common sense solution.
And what sites are replacing videos with massive gifs? Buzzfeed-like sites have always been filling their pages with 250 megabytes of gifs. News sites with half a dozen autoplaying videos certainly won't be replacing their videos with multi-gigabyte gif versions. And it seems like detecting a large, constantly repainted canvas would be easy enough.