openHPI/video-player

Handle incomplete Stream Configs

Opened this issue · 1 comments

Sometimes we have HD Stream available only for one of the two videos. The player should be able to handle this:

[{\"hd\":null,\"sd\":\"https://player.vimeo.com/external/241185268.sd.mp4?s=49c371dd04cac9471ab45be9c564bbc37eb06af8\\u0026profile_id=165\\u0026oauth2_token_id=60919992\",\"poster\":\"https://i.vimeocdn.com/video/664695340_1920x1080.jpg?r=pad\"},{\"hd\":\"https://player.vimeo.com/external/241185139.hd.mp4?s=b1104529713f67b201052969c803ce54a9d3d110\\u0026profile_id=174\\u0026oauth2_token_id=60919992\",\"sd\":\"https://player.vimeo.com/external/241185139.sd.mp4?s=ac2fbafe6bc7f8d1f783a124f7e06d6ce894fffe\\u0026profile_id=165\\u0026oauth2_token_id=60919992\",\"poster\":\"https://i.vimeocdn.com/video/664695143_1920x1080.jpg?r=pad\",\"muted\":true}]

And please let me know when this is released on our platforms, so that I can remove the workaround again.