This code will execute action-0 then action-1 but this will be at the same time. I mean you have no way to wait your video ends.Plus I don't know anything about your modal code, so the thing I would recommend at the moment is to:

- Bind the action that opens the modal on the hotspot.- In your modal code, listen to the end event of the video.- When the video ends, add a callback manually that tells the viewer to load the next scene.