Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

CTA at the end of video


Hello, I would like to know how to insert a CTA link at the end of the video. I have find an article but it's from 2013 and I think it can be obsolete.

I have uploaded my first video today and I have got the div/iframe embed code, but I don't know how to add the onComplete action. I thought I would find an example in the demos page, but I only see hotspots like something similar and I thing that's not the point.

So, could you give me any support about this?

Thanks in advance.

Best regards,
David.

6 Community Answers

Heidi

JW Player Support Agent  
0 rated :

Hi David,

Please see the source code for this test page:

http://qa.jwplayer.com/oncomplete_overlay_test.html

Is this what you are looking to do?

Heidi

d...

User  
0 rated :

Yes Heidi! I'm going to check the source code :)

Heidi

JW Player Support Agent  
0 rated :

Ok great, let us know if you have further questions.

David

User  
0 rated :

Hello again, would it be possible to add a cta button before the video ends?

Thanks in advance :)

David

User  
0 rated :

I already have done it with playerInstance.on("time", function(event). But I have a question. Can this ctas be showed in a non-html environment? I mean facebook for example.

Heidi

JW Player Support Agent  
0 rated :

Hi David,

I’m happy to hear you were able to set up the CTA the way you wanted. Please try embedding your video as an iframe in Facebook to test this.

Heidi

This question has received the maximum number of answers.