Built-in Vimeo video calls

This post is a continuation of the post I made earlier regarding HTML5 video callbacks . In this thread, I was provided with a large piece of code that would let the browser know when the video stops playing and then starts the action (using jQuery). This is the code I'm currently using:

$('video.normal').bind('ended', function(){
    $(this).fadeOut().queue(function(){ 
        $(this).siblings('.post-video').fadeIn();
        $(this).dequeue();
    });
});

Which basically fades out the video when it is completed, and returns the frame of the video poster (or similar image) back.

Well, the scope of the project has changed, and now the client is requesting true full-screen videos and videos of different sizes, which will be delivered based on the speed of connection to the user, something that is a little over my head and a lot over the budget. So, I'm doing research, and the Vimeo Plus player seems like a great alternative for visitors using a desktop browser (HD inserts, full screen, etc.). The fact is that I need the code above to continue working in a particular capacity, so does the Vimeo built-in player offer a similar callback that I can use? Or am I here SOL?

Thanks in advance!

+3
source share
1 answer

Vimeo "Universal Embed Code" , finish. API, .

API, playground GitHub. SWFObject MooTools .

+1

Source: https://habr.com/ru/post/1749403/


All Articles