If there’s a tool you’d like to include in your app that’s not readily available on Movement yet, you can embed content from another website into your app.
💡 Note: you will need to find the ‘embed’ code provided by a website to use this function.
For example: On Spotify, you’d click the ‘…’ on a playlist page, ‘Share’ and ‘embed playlist’. Then you’d click ‘copy code’ and drop that into the URL for the embed block.
How to Embed
Click the ‘+Add Block’ at the top of the app builder or the ‘+’ button in the highlighted purple frame. When the block library appears, scroll to the ‘Embed’ section and click to expand and choose which embed you want to drag and drop onto a page. Enter the embed URL from the website. Save and preview!
💡 Note: the general guide line, is that if the "embed code" starts with <iframe>
then it can be embedded using the Embed Block, but if it starts with <script>
it cannot, and should be added using the Custom Code Block. The Embed Block has it’s own <iframe> tag so will strip all of the HTML contained inside the code you paste in and just look for the embed URL. You can still feel free to paste in the entire <iframe> snippet into the Embed Block, and you will notice only the URL remains.
Spotify Embed Example:
BMI Calculator Embed Example:
Trying to embed an external toolor widget that has a <script> embed code?
You can do it using our Custom Code Block! Check out our guide on this below: