Reply
New Member
awinkleaz
Posts: 2
Registered: ‎06-08-2011
0 Kudos

Registration form

Does anyone have any experience triggering a registration form/lead generation form when a user clicks to watch a video?

Brightcove Team
BC-Oscar
Posts: 503
Registered: ‎12-11-2008
0 Kudos

Re: Registration form

 

 If the form is built in Flash you can create a custom component to load and display the form when the user clicks play. You can use the Player API to detect the click and pause the content.  Here is more info about custom components:

 

http://support.brightcove.com/en/docs/creating-custom-player-components

New Member
awinkleaz
Posts: 2
Registered: ‎06-08-2011
0 Kudos

Re: Registration form

It would be helpful if there was a way to do this without flash? We are trying to use javascript to pop up  a form so that clients can not proceed with watching a video without filling out the form. We have had no luck.

Brightcove Team
BC-Oscar
Posts: 503
Registered: ‎12-11-2008
0 Kudos

Re: Registration form

I would then load the player with no content first and then open the pop up window the onTemplateLoaded method that the Brightcove player automatically calls when it is completely loaded. Then depending on the positive path that closes the form, I would call the loadVideo(videoId) API in the VideoPlayer API module to load and autoplay the content.