Playing random video and webpage duration

Hello,
I want to play a random video in a region. My videos have different durations from ~15s to ~90s. Since Xibo does not provide such feature (or I missed it) I created an external web page which picks a random video url from a directory and plays it in a video tag.

The issue is : how can I tell Xibo to continue to the next widget once the video has been played, no matter the video duration. I can only set a fixed duration for a web page and I don’t want the layout to go on before the video is over nor I want it to hang on for several seconds on the last frame if the video is shorter than the fixed duration.

Is there a way to achieve this?

Thanks for any tip which could help

CMS Version : 2.3.7

The Xibo Community site uses cookies. What are cookies?