stephan-fischer / jquery-liveurl Goto Github PK
View Code? Open in Web Editor NEWFacebook Attachment Clone
Facebook Attachment Clone
hello sir,
again url live preview not working now,before its giving iamge and descirption preview and all other url preview .now its not working
Failed to load resource: the server responded with a status of 400 (OK)
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20htmlstring%20where%20url%3D%22https%3A%2F%2Fwww.createonlineacademy.com%2Fuu%22&format=xml&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=&_=1503565384972
now giving this type of error
Buenas tardes:
El plugin me esta retornado la variable data.video en null, incluso cuando es un enlace de youtube.
Gracias!
hi sir ,before one month this code working fine, now its not showing any preview of url .what i have used first code same as it is...
What is the license? Using software without license can make troubles so please add it so anyone would know.
Using the address like (https://music.yahoo.com/blogs/music-news/taylor-swift-to-go-totally--80s-on--first-official-pop-album-235627664.html) I get a bunch of weird character for quotation marks and commas. If this were php I would just do just do a "htmlspecialchars($str)" to fix this problem, but since this is javascript how can I fix this issue on the returning data?
what event trigger when user cancel the dislayed linked?
Hi, thank you for great plugin.
When I input the url in my textarea the first time, liveurl can catch it and pass data to me in the onSuccess event, but when I clear the textarea content after that, and retype another url, it doesn't recognize the url anymore.
What could I miss ? Thank you
I have the same code as here. Why am I getting the error below?
Hi there the video preview is not working, when i put a youtube video the object always return like that:
Object {
title: "Mom and Kids Drifting in a Minivan - Momkhana Famous Footwear",
description: "This is what happens when you take a 550 HP engine…rformed on a closed course. Watch the Behind t...",
url: "https://www.youtube.com/watch?v=-j0H5sP-prk",
video: null
};
i think its because yahoo change there api
I would like to suggest allowing only contexts:
I use jquery 2.1.1 and jquery-migrate-1.2.1 but when i try this plugin i get this message:
Error: TypeError: name is undefined
File: /JavaScript/jQuery/jquery-migrate-1.2.1.js
Row: 98
And sometimes i get this on (https://github.com/stephan-fischer/jQuery-LiveUrl):
Error: TypeError: path.match is not a function
File: /LiveUrl/jquery.liveurl.js
Row: 517
Does this plugins still maintained by the author?
I downloaded the entire zip file, unzipped it, then double clicked the index.html file and it opened the page. I pasted http://en.wikipedia.org/wiki/Kane_%28wrestler%29 and pressed Enter. The preview comes with yet but no image, but in the demo page from Github, both text and the thumbnail image (with 13 backup images) were coming.
Am I missing something?
is it woking with content editable div?
Hi,
I'm setting up a Humhub intranet and want to add some extra features to comments from users.
The comment box is an editable div of which the content is cloned into an hidden textarea.
But when entering an url , it isn't recognized...
Can you please help me finding a solution?
$(document).ready(function () {
$('.input-area').keyup(function () {
if (
") {
$(this).html(placeholder);
$(this).addClass('atwho-placeholder');
} else {
$('textarea').val(getPlainInput($(this).clone()));
}
})
});
$('textarea').liveUrl({
loadStart : function(){
console.log('start');
},
loadEnd : function(){
console.log('finished');
},
success : function(data) {
console.log(data);
}
});
url live preview not working now,before its giving video preview and all other url preview .now its not working .same code i am using which i have used first.
Hi Stepah,
$.browser seems to be removed on 1.9 jquery version.
use navigator instead :
/msie/.test(navigator.userAgent.toLowerCase()
Eventually you can also add :
jQuery.browser = {};
jQuery.browser.msie = /msie/.test(navigator.userAgent.toLowerCase()
Not sure that is a great solution bat at least it fix the issue.
Luca
As of January 1st of 2019, Yahoo has retired "query.yahooapis.com". Now the code does not fetch anything new. Is there any replacement or work arounds for this issue?
https://www.valuewalk.com/2019/01/yahoo-retires-yql-services/
Thanks for writing this plugin. It works really well.
Is there any way I can limit just one image being returned.
Many thanks
Hai,
Could anyone of you help me by saying, how to use the same liveurl constructor at multiple places in the same page.
I apologize for being a bit of a JQuery novice (I'm currently taking an online class), so please forgive me if this question has already been answered, but I can't seem to find the resolution within the closed issues. Anyway, this is BY FAR the best one of these types of scripts I've seen. However, I'm at a loss as to how to go about extracting the same data and features once the text within the text area is saved and retrieved. In other words, once the user fills in the text area and submits it through a form, I want to be able to call that content from a database and then display that content in the same way with LiveURL, with all of the urls automatically parsed and so forth - within a DIV or some other DOM element identified by ID, or Name, or whatever. The function seems to be contingent upon a click event, and I can't seem to figure out how to modify it so as to automatically run on the $("document").ready(function(). So I guess my question/point is that it would be great if this could be expanded to include the complete process, both before and after form submission. Thanks
Hey, its returning the url instead of whats in the title in the head for amazon pages. Any ideas why/how to fix?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.