CamSpy
CamSpy

Reputation: 401

JWPlayer onComplete show a pop-up

I am using jQuery and JWPlayer on a page where the video is being played. When the video ends I would like to show an overlay pop-up with CTA.

In documentation I have found that onComplete() call could be used for that, but I can't find any info on how to fire up a pop-up...

Is it possible at all? If yes, how do I show an overlay sort of pop-up once the video finished playing?

Upvotes: 2

Views: 4181

Answers (1)

Ben
Ben

Reputation: 885

Here is example to CTA onComplete:

http://www.jwplayer.com/blog/call-to-action-with-jw-player/

You can view the code in this page: http://demo.jwplayer.com/cta-overlay/

Another option is to use other jquery lightbox plugin and use onComplete() to fire pop-up

    jwplayer().onComplete(function(){/*your jquery function*/})

Upvotes: 3

Related Questions