diff --git a/.gitignore b/.gitignore
index 4af933a..af8aff0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,9 +31,9 @@ node_modules
.npmrc
# Build Data
-dist/*
-es/*
-lib/*
+dist
+es
+lib
# Optional REPL history
.node_repl_history
diff --git a/examples/ComponentToPrint/index.tsx b/examples/ComponentToPrint/index.tsx
index e2e9c00..6852ba0 100644
--- a/examples/ComponentToPrint/index.tsx
+++ b/examples/ComponentToPrint/index.tsx
@@ -173,6 +173,14 @@ export const ComponentToPrint = React.forwardRef
+
+ Video: Without src |
+
+
+ |
+
diff --git a/package-lock.json b/package-lock.json
index a00cbf4..0df32ca 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,6 @@
"@eslint/js": "^9.17.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
- "acorn": "^8.14.0",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
diff --git a/package.json b/package.json
index 812d69b..0adf77c 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,6 @@
"@eslint/js": "^9.17.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
- "acorn": "^8.14.0",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
diff --git a/src/utils/handlePrintWindowOnLoad.ts b/src/utils/handlePrintWindowOnLoad.ts
index 7d9b645..87629f7 100644
--- a/src/utils/handlePrintWindowOnLoad.ts
+++ b/src/utils/handlePrintWindowOnLoad.ts
@@ -189,7 +189,8 @@ export function handlePrintWindowOnLoad(
if (videoNode.readyState >= 2) { // Check if the video has already loaded a frame
markLoaded(videoNode);
} else if (!videoNode.src) {
- markLoaded(videoNode, ["video src empty", videoNode, "Error"]);
+ // There are scenarios where `src` can be empty, for example with lazy loading.
+ markLoaded(videoNode, ["Error loading video, `src` is empty", videoNode]);
} else{
videoNode.onloadeddata = () => {
markLoaded(videoNode)