video-dev / clappr-rtmp-plugin

📺 RTMP support for Clappr player.
http://clappr.io
Apache License 2.0
105 stars 46 forks source link

OnClick event not firing when using rtmp plugin #54

Closed sarat1669 closed 8 years ago

sarat1669 commented 8 years ago

Clappr version : 0.2.58 RTMP version : 0.13 The click event works for HLS, normal video playbacks, but when using RTMP, it is not firing.

player.listenTo(
    player[parentId].core.getCurrentContainer(),
    Clappr.Events.CONTAINER_CLICK,
    function(ev, data) {
        console.log('clicked on '+ parentId);
    }
)
gfronza commented 8 years ago

@sarat1669 this probably doesn't work because of the heavyweight flash object, the click event never reaches the Clappr container. I guess we could find a workaround, but not sure if it worth it.