Perhaps this Demo is close to the mark?
Hype Project: VideoSceneEndedTransfer.hype.zip (2.2 MB)
"Live" version here. (Animation Controlled by Sound)
This demo uses the "video tag" in which a rectangle has the following code placed in its innerHTML:
<video id="myVideo" width="500" height="350" controls="controls">
<source src="${resourcesFolderName}/Hype_Motion_Demo.mp4" type="video/mp4">
</video>
IMPORTANT! Note the id="myVideo"
in the tag. This is the ID that will be referenced in the "videoEnded" function shown just below - not the ID in Hype's API.
var vid = document.getElementById("myVideo");
vid.onended = function() {
hypeDocument.showSceneNamed('Scene 2', hypeDocument.kSceneTransitionCrossfade, 1.1)
};
Further references: