Description
Hello,
I'm curious if there's a way for videojs-ima plugin to reset itself, effectively ready to be reinitialised?
The scenario is this: we aim to utilize a single player and relocate it within a carousel for smooth scrolling transitions. After the carousel scroll ends, we relocate the player to the active slide and switch the source. However, we can't dispose and recreate the player because, with sound enabled, the video won't autoplay on the third slide on mobile (the browser interprets this as lacking direct user interaction with the video, thus disabling autoplay with sound). Currently, our preroll fails to play on the second slide if we relocate the player in the DOM. It seems the ima SDK lacks support for scenarios where the player is moved within the DOM. So we just wonder if there is a way to reinitialise the videojs-ima after we move the player? Hopefully this will play the ads and autoplay is still working with sound on when user scroll around.
Kind regards..