We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cbf861 commit 23613bbCopy full SHA for 23613bb
image-sequence-viewer.html
@@ -185,14 +185,12 @@
185
}, timeout);
186
}
187
};
188
+
189
imgElement.onerror = function() {
190
if (!playbackStopped) {
- const currentSrc = imgElement.getAttribute("src");
191
- if (currentSrc) {
192
- log("error loading image at " + currentSrc);
193
- playbackStopped = true;
194
- imgElement.setAttribute("src", previousImageUrl);
195
- }
+ log("error loading image at " + imgElement.getAttribute("src"));
+ playbackStopped = true;
+ imgElement.setAttribute("src", previousImageUrl);
196
197
198
0 commit comments