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

video clickable


Does anyone know if there is a function to make the actual content clickable and if there is a feature for a click tracking?

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

This could be a two prong approach but potentially with ad content you can create a “clickthrough” option that opens a webpage or potentially use an onclick event that attaches to a wrapper around the player to fire some code. please see below:

<!doctype html><html><head><script src="http://content.jwplatform.com/libraries/playerID.js"></script></head><body><div id="clicky" onclick="alert('Player Clicked');"><div id="myElement">Loading Your Player…</div></div><script> var playerInstance = jwplayer('myElement');playerInstance.setup({file: "sample.mp4",});</script></body></html>

Randy

This question has received the maximum number of answers.