Gapless playback with AVPlay

I am currently developing an app for Tizen TV. What I want to achieve is a gapless playback with multiple video files, unfortunately I have a problem with this. I used standard html video tag before, and I was loading new videos in background, with css visibility:hidden property. Now I need to switch to Avplay, and since it accepts only one player in DOM, I have no idea, how can I achieve my goal, because after calling prepare on new video, the screen is turning black for a moment, while loading new video file. I have to do this on background. Can anyone help me? Thank you in advance :slight_smile: