bartbutenaers / node-red-dashboard-2-ui-video

A Node-RED node for playing video in dashboard D2
Apache License 2.0
1 stars 0 forks source link

Failure in onError event #9

Closed bartbutenaers closed 1 week ago

bartbutenaers commented 2 weeks ago

In some circumstances the onError event handler of the video element fails, with following exception:

Uncaught TypeError: Cannot read properties of null (reading 'code') at videoElement.onerror (ui-video.umd.js:25589:74)

This for example happens when the ready poster SVG contains a syntax error.
I have not investigate this yet in detail.

bartbutenaers commented 1 week ago

In this case now a more general error will be logged