Skip to content

egoist/autoembed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Auto-embed nice embed-able links.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published