Difference between Video > Has Ended and Video > playback event > Ended?

Not favoritedFavorited Favorited 0 favourites
  • 4 posts
From the Asset Store
ALL Firebase Support c3 export > WEB > MOBILE > DESKTOP
  • Hello,

    I would like to know if there is a difference between

    Video > Has ended

    and

    Video > Playback Events > Ended

    The manual seems to say exactly the same thing:

    Has ended

    True if the video playback has reached the end of the video and stopped.

    Ended: triggered when playback reaches the end of the video.

    Link : construct.net/en/make-games/manuals/construct-3/plugin-reference/video

    I tried them in my game and they seem to be doing exactly the same thing.

    However, I'm getting occasional stalls in my videos when using playback event "can play through", I would like to only start playing the video when 100% sure the whole video can play through. That's what I was expecting Playback event > "Ended" to do but it doesn't seem to be the case. The video simply never starts playing.

    Is that normal? If yes, any tip on how I can trigger my video only when the full video is loaded?

    Thanks for your help!

  • + Video: On Ended

    You see, this event has a green arrow, which means it's a trigger, and it will fire only once when the video ends.

    + Video: Has ended

    This event is similar to a Boolean variable; you can check at any time whether the video has ended or not, and if you set it up this way, it will do this 60 times per secon

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you for the reply, that makes sense.

    Then I guess there's no way to check if the video has completely finished preloading and be 100% sure there will be no stalling.

    Is there any best practices to avoid that? I see there's a "stalled" playback event which triggers when a stall occurs, but I have no idea what to do with that. If a stall occurs, it's already too late.

  • Either someone who already uses video will stop by here and help us, or you can share a small video project that has a problem, and then I'll be able to take a look and try to help.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)