Open Ackar opened 10 years ago
The test link is dead, but it's clear why gif2video breaks it. Modifying the DOM will always bring risks like this, so we should look for standard-conformant alternatives to make GIFs more efficient.
Actually, we shouldn't replace <img>
if no src
is given and may filter any tags with class
attributes to be on the safe side.
The Lazy load plug-in relies on an additional
data-original
attribute inimg
to load images asynchronously. Changing theimg
tag tovideo
breaks that (even when preserving thedata-original
attribute).Step to reproduce
gif2video