Parsing a Vimeo ID using Javascript?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-05-26T20:30:21Z Indexed on 2010/05/26 20:51 UTC
Read the original article Hit count: 209

Filed under:
|

Hi,

Could anyone point me in the right direction to parse an ID from a Vimeo URL in Javascript?

The URL will be entered by a user so I will need to check that they have entered it in the correct format.

I need the ID so that I can use their simple API to retrieve video data.

Any help appreciated.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about vimeo