jquery-oembed-all icon indicating copy to clipboard operation
jquery-oembed-all copied to clipboard

Using also with non urls

Open djculex opened this issue 12 years ago • 1 comments

I've been testing this great plugin with a tag wall where the updates are a mix of regular text messages, images and links.

On non-urls I as expected get data.query.results.meta is undefined error.

I fixed this by adding this after succes in line 125 [code] if (data.error) { return false; } [/code]

I also noticed sometimes the iframe (especially in youtube urls) cuts the video short.. Any way fix iframe size to 100% ?

djculex avatar Apr 25 '12 13:04 djculex

I had the same problem except this is what worked for me :

if (data.error || !data.query.results) { return; }

gh0st026 avatar Jun 05 '12 23:06 gh0st026