Your Blueprint seems to be seeking to the current time. Did you intend to set a different time or add an offset?
Also, you won’t be able to seek until the media is fully opened.
I would try the following approach:
- Create two MediaPlayers, one for each video
- Disable the “Play On Open” box on both of them
- Wait for both players to call their OnMediaOpened event
- Now you can call Play, Pause, Seek, whatever
Seeking in general won’t be instantaneous. I think your only option for instantaneous switching of two videos without gaps would be to play both of them in parallel, but display only one, i.e. reassign the MediaTexture asset between players.
If you’re already doing all this, and the problem is that there’s a noticeable (and variable) delay between calling Play and actually getting the first frame, then things are going to get more complicated. You could maybe try to listen to PlaybackResumed on both players, Pause on the first player, then Play both players when the second player sends it.
We do not currently have a mechanism to time sync multiple players. This is a difficult problem that we’re investigating for 4.15.