autoembed
v0.0.1
Published
auto-embed youtube/youku/netease etc.
Downloads
263
Readme
Auto Embed
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