diff --git a/jquery.lazyload.js b/jquery.lazyload.js index b2279aa2..a2daa62f 100644 --- a/jquery.lazyload.js +++ b/jquery.lazyload.js @@ -115,7 +115,7 @@ if (srcset !== null) { $self.attr("srcset", srcset); } - } if ($self.is("video")) { + } else if ($self.is("video")) { $self.attr("poster", original); } else { $self.css("background-image", "url('" + original + "')");