![](https://secure.gravatar.com/avatar/5f6a420639d25502099e43908248f698?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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?
Does anyone know if there is a function to make the actual content clickable and if there is a feature for a click tracking?
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