How to capture click event with jQuery for iframe?

前端 未结 4 835
攒了一身酷
攒了一身酷 2020-12-10 18:28

I\'m trying to pause the slider on the homepage when a video is played so it doesn\'t keep sliding. Check it out here.

I\'ve tried adding a div on top o

4条回答
  •  情深已故
    2020-12-10 18:59

    It seems like it would easier to use Vimeo's API to register for events fired by the player.

    An example can be found here: https://github.com/vimeo/vimeo-api-examples/blob/master/moogaloop-api/javascript/froogaloop.html

    Documentation: http://vimeo.com/api/docs/moogaloop

    IN ACTION: http://jsfiddle.net/u5jG6/

提交回复
热议问题