Stop a Vimeo Video with Jquery

前端 未结 4 1837
迷失自我
迷失自我 2021-01-20 21:26

I need to stop a Vimeo video embedded with new oembed api (universal player) but when I try to add an event I get this error:

Uncaught TypeError: Object #<         


        
4条回答
  •  我在风中等你
    2021-01-20 22:23

    As per Mike's suggestion, invoking:

    Froogaloop.init();
    

    Does make the control API work. In my case:

    
    
    

    Weird... Moogaloop's author demo page does work without the init() call. Anyway, worked for me.

    Thanks for your time!

提交回复
热议问题