WebVideoCreator icon indicating copy to clipboard operation
WebVideoCreator copied to clipboard

Embed Video Issue and Uncaught Error

Open ivangusev opened this issue 2 years ago • 1 comments

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 avatar Dec 26 '23 09:12 ivangusev

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

ivangusev avatar Feb 07 '24 08:02 ivangusev