autoembed
auto-embed youtube/youku/netease etc.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install autoembed 
SYNC missed versions from official npm registry.

Auto Embed Build Status

Auto-embed nice embed-able links.

Installation

npm install --save autoembed

Example

autoEmbed(string, {
  // eg: render cloudmusic only
  cloudmusic: true
  // eg: render every embed-able link
  embed: true
})

What we support

Feel free to send a PR for supporting more embed-able links.

Now we support:

  • Youtube, eg https://www.youtube.com/watch?v=5vOAxP-u5KA
  • Kickstarter, eg: https://www.kickstarter.com/projects/1546683916/treasures-of-the-universe-unique-astrophotography?ref=home_popular
  • Cloudmusic, eg: http://music.163.com/#/song?id=36103237

Related

  • autolink.js : Use this module to embed videos and music, etc.

License

MIT © EGOIST

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |