embed-js v5 is here 🎉
Aug 24, 2017 · 1 min read
embed-js is a JavaScript plugin that helps you to embed contents like tweets, emoji, youtube videos, instagram posts etc. in the DOM without much fuss. v5 of embed-js is live now. In short the new features include :
- Lightweight
- Plugin system (only load what you need)
- Isomorphic (Runs on server and client)
- Create custom plugins.- https://codesandbox.io/s/wm8lgyq1X
Since this version is a complete rewrite of the library, there is a significant change in the API.
Here is a quick demo.
By default embed-js does nothing. You will need to use plugins to use any functionality.
The current built-in plugins include :
- GitHub
- Code syntax highlighting
- Emoji
- Url - converts URLs to anchor tags.
- noEmbed
- Google Maps
- Media (Audio, Video and Image)
Its still early days for this version. Give it a try and let me know if you face any issues or want a new feature on GitHub or Twitter.
