I am trying to add more Vimeo videos to one player that will automatically play and play the video one by one, and end up repeating the playlist.
I found this http://luwes.co/labs/vimeo-wrap/ , it does everything that I need, but it does not work properly, even on their website, it only plays the first video. BUT it works correctly on its example on jsfiddle http://jsfiddle.net/luwes/uPgMv/
<div id="player"></div> <script src="http://luwes.co/vimeowrap.js/vimeowrap.js"></script> <script> vimeowrap('player').setup({ urls: [ 'https://vimeo.com/20768621', 'https://vimeo.com/21953913', 'https://vimeo.com/24581859' ], repeat: 'list' }); </script>
Using the Chrome browser, I see this error in the console:
Blocked frame with source " http://player.vimeo.com " from access to frame with origin " http://luwes.co ". Protocols, domains and ports must comply.
Or maybe you know the best jquery plugin that will do the same? or maybe a WordPress plugin that can do this? I did not find anything better than the jquery plugin above.
source share