Steps to reproduce:
1. Ingest and publish a video to Engage UI where only one segment will be produced
2. Load the video via the Engage UI
An error page is presented (see attachments). An error message is printed to the browser console:
Uncaught TypeError: Cannot read property 'duration' of undefined (utils.js:206)
This code was introduced by MH-11668, but the bug seems to be in the passed `segments` argument: in case there are multiple segments it is an array where as with only one segment it is the segment object directly.
The player loads and displays the video.
Workaround (if any):
While debugging one can stop at utils.js:174 and manually set `segments` to `[segments]`. The page is then loading correctly.