Switch the video element for dash player (detach / attach to another video element) 2.6.4+
Created by: anettehalbestunde
We provide some kind of popout feature where the video element within a website is removed and a new video element in a new browser window should be used as replay view. Back in DASH 2.5 (should have worked up to 2.6.3) this was no problem calling reset() and then attachView and attachSource for the new video element in the other browser window. Then changes to the attachView Method were introduced which broke the functionality for us because the streamController has no activeStream and so the streamController.switchToVideoElement() call in the attachView method fails with an exception. Maybe we do/did some things wrong. We actually workaround this by creating the MediaPlayer itself completely new.
So what is the recommended way of detaching one video element and attaching another one to the MediaPlayer?
Thanks in davance.