Describe the bug
Especially in Firefox, the video player starts playing an m3u8 livestream (on the same domain), but the video is not or only very briefly (<<1sec) shown.
Instead, the message Restart livestream is visible, while audio is playing in the background. If Restart livestream is clicked, the component initializes a second time successfully with video - leading to audio being played twice with a short delay.
The following warning is logged in the console: VIDEOJS: WARN: The element supplied is not included in the DOM
When debugging this a bit, it looks like the whole os-video-player component is missing from the DOM and ngOnDestroy() is called shortly after ngAfterViewInit(), but before the videojs player was initialized, though I could not find out why the component was destroyed in the first place.
Firefox seems to trigger it almost every time, but I also managed to trigger the issue in Chromium with a few reloads.
How to Reproduce
- set a livestream URL to a m3u8 URL
- (re-)load the page with an active livestream
Expected behavior
The video-player initializes successfully at page load, playing audio and (visible) video.
Running release: 4.3.0
Describe the bug
Especially in Firefox, the video player starts playing an m3u8 livestream (on the same domain), but the video is not or only very briefly (<<1sec) shown.
Instead, the message
Restart livestreamis visible, while audio is playing in the background. IfRestart livestreamis clicked, the component initializes a second time successfully with video - leading to audio being played twice with a short delay.The following warning is logged in the console:
VIDEOJS: WARN: The element supplied is not included in the DOMWhen debugging this a bit, it looks like the whole os-video-player component is missing from the DOM and
ngOnDestroy()is called shortly afterngAfterViewInit(), but before the videojs player was initialized, though I could not find out why the component was destroyed in the first place.Firefox seems to trigger it almost every time, but I also managed to trigger the issue in Chromium with a few reloads.
How to Reproduce
Expected behavior
The video-player initializes successfully at page load, playing audio and (visible) video.
Running release: 4.3.0