0.0.1 • Published 8 years ago

autoembed v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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