Unable to jump to next scene at the end of video track

I have a video that runs for about 30 seconds.
I put a key at the end of the video track to trigger an action to jump to next scene but it just loops.

You may provide an example of what you are trying …

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">

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:


Hmm… all is working as expected in the demo page and project, in Safari and Chrome…?