starfishmod / jquery-oembed-all

A fork with improvements of the jquery-oembed project
http://starfishmod.github.com/jquery-oembed-all
386 stars 160 forks source link

vimeo not working #99

Open robinlery opened 10 years ago

robinlery commented 10 years ago

In the test.html, I tried posting the vimeo video link. But it didn't return anything and showed me an error: The file or directory could not be found. Is this a bug?

Thank you.

JoarLeth commented 10 years ago

I ran in to this when I opened a local file in the browser (file:///path/to/test.html). Was it the same for you? In that case it's because the protocol is not specified in the iframe source (src="//player.vimeo.com/video/..."), and it should work when the file is served over http(s).