
using single-line embed - hide an overlay div on play?
We're using single-line embeds from JWPlatform.
We've decided to start adding an overlay on hover with a little description about the video and the running time.
Is it possible to hide this overlay on play and make it visible again on completion? (We don't need to show it on pause.)
I was trying something like this in my custom js file:
jwplayer().on('play')(function() {alert('play clicked')});
but I get
jwplayer(...).on(...) is not a function
Any suggestions?
Thanks!