Vimeo player api - play video with javascript

后端 未结 1 1814
攒了一身酷
攒了一身酷 2021-01-21 09:58

I\'m trying to start playing video with javascript/jquery function. I copy example from vimeo site and upload it to the server, but it is not working.



        
相关标签:
1条回答
  • 2021-01-21 10:01

    You would need to make sure you're including the jQuery library for this code. Before the froogaloop script try adding:

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

    Here's a fiddle of it working http://jsfiddle.net/nkfH4/

    0 讨论(0)
提交回复
热议问题