But this code doesn't work when there's https instead of http. How can I make it work with https too? I prefer to keep the split instead of using a regexp if possible.
vimeo_id = message.split(/video\/|http:\/\/vimeo\.com\//).split(/[?&]/);
|Using jQuery to set a DIV attribute on page load||9||33|
|Remove the hyphen(-) and filesize from the document list and open in a new window?||5||31|
|I want a tab to always be underlined when I open div then change||1||17|