intelogie / jquery-liveurl
Installs: 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 44
Language:JavaScript
This package is auto-updated.
Last update: 2024-10-21 20:00:43 UTC
README
This plugin enables a live preview for an url in a textarea,
like the facebook attachment
of a post. Multiple images and a video preview is in this demo integrated.
Features
- Filters urls and images from a textarea
- Multiple Images
- Video Preview
- NO PHP required (YQL)
- Meta Tag Recognition
- Body Images Inspector
- Body Paragraphs Inspector for Description Fallback
Demo
Online-Demo: http://liveurl.ainetworks.de/demo/
Installation
Include this script after the jQuery library
<script src="/path/to/jquery.liveurl.js"></script>
Browser Compatibility
- Google Chrome 23
- Mozilla Firefox 16.0.2
- Internet Explorer 7, 8 and 9
- Safari 5.1.7
Quick Usage
You can use this plugin on every textarea. Start it directly:
$('textarea').liveUrl({ success : function(data) { console.log(data); // this return the first found url data } });
returns:
Object = { title: "New Car Quotes, Buy Used Cars, and Prices | The cars.com alternative | Car.com", description: "Car Reviews, Car Financing, and a Free non-obligat…e.", url: "http://www.car.com", video: null }
Options
Development
- Source hosted at GitHub
- Report issues, questions, feature requests on GitHub Issues
Authors
Donation
If you want to support me, make a small donation at www.paypal.com: stephan@ainetworks.de