Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed Video Issue and Uncaught Error #18

Open
ivangusev opened this issue Dec 26, 2023 · 1 comment
Open

Embed Video Issue and Uncaught Error #18

ivangusev opened this issue Dec 26, 2023 · 1 comment

Comments

@ivangusev
Copy link

ivangusev commented Dec 26, 2023

I have the video recording times out. Here is page html:

<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no"> 
  </head>
  <body>
    <video src="http://ucarecdn.com/44b31790-7deb-4136-b05e-d0838f650bcb/7-sec-full-hd.mp4"></video>
  </body>
</html>

What is the problem?
Why error is not triggered?

video.on("error", (err) => {
     new Error('Create Video failed with ' + err.message)
});

In general, regarding error handling. Sometimes the video recording times out and in logs i see following (how to catch them? so i can terminate my function correctly):

[2023-12-20 17:58:32.529][error][SingleVideo<163,55>] [page] PageError: [0:00:00.000] [BoxParser] Box of type '' has a size 1751411826 greater than its container size 53 
at file:///usr/src/app/node_modules/web-video-creator/core/Page.js:474:43
[2023-12-20 18:07:55.541][error][Browser<150,42>] Browser Browser@3 close error: Error: Resource not currently part of this pool
at Pool.destroy (/usr/src/app/node_modules/generic-pool/lib/Pool.js:548:9)
@ivangusev
Copy link
Author

Hi, @Vinlic , when you have time to look at this point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant