incorporate simple vimeo video request with jquery carousel

Posted by Andrew Welch on Stack Overflow See other posts from Stack Overflow or by Andrew Welch
Published on 2010-03-19T17:50:53Z Indexed on 2010/03/22 9:31 UTC
Read the original article Hit count: 507

Filed under:
|

Hi,

I did a tutorial for a jquery carousel that scrolls a ul. At the moment the ul is hardcoded, but I want to use a simple call to vimeo api to bring in the videos for a certain user into the carousel.

I have uploaded my code here: http://www.welchcreative.co.uk/wp-content/infinitecarouselvimeo.zip

My problem is that I don't know where I should put the code for the simple vimeo call, because at the moment, I think that the problem is that the vimeo videos load after the jquery stuff because it uses window.onload rather than document ready and I can't seem to work out how to put the two and two together.

Ideally, 1. the code loads the vimeo videos first and puts them in a ul wiht the correct classes. 2. the carousel code then acts on the list above. in that order.

I hope that isn't too vague. It's a pretty simple idea. I'm new to javascript and jquery.

Thanks

Andy

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about vimeo