Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rameezisrar's avatar

Fire event when vimeo video ended

I am new to Vue. How can i fire an event when the video has finished ? Is here any libaray available ?

0 likes
4 replies
ejdelmonico's avatar

I have always used the Vimeo player because of its reliability and available controls. If you have the pro plan, you have much more control including what is shown after the video finishes. https://developer.vimeo.com/player

The JS api allows you to fire an event when the video is finished. Look at the docs in the link I provided.

1 like
rameezisrar's avatar

@ejdelmonico thankyou for the support. i tried using these api's but i need to use it with Vue js. Can you help me in that please?

martinbean's avatar

@abudo You’d be able to listen for the video ending using a native event:

document.getElementById('vimeo-player').addEventListener('ended', function (event) {
    // Video ended; do something
});
1 like

Please or to participate in this conversation.