
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