![](https://bigmachine.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTI2LCJwdXIiOiJibG9iX2lkIn19--8de904859bf5dab7ee3dc1d523544ed7e0f66acf/eyJfcmFpbHMiOnsiZGF0YSI6e30sInB1ciI6InZhcmlhdGlvbiJ9fQ==--743878b0228ee81b4587d6ab790a4e67ea599217/spina-embed.jpg)
Making Your Own Embed
Buy or Subscribe
You can access this course in just a minute, and support my efforts to rid the world of crappy online courses!
Spina gives you a generator that lets you add embeddable content as you need. It comes with the most common, including YouTube, Vimeo, and a Button. You might want to do something more complex, like adding a GitHub gist, which is what we cover in this video.
You can get started with:
You can get started with:
rails g spina:embed gist url
This creates a model, a form, and your HTML output.