Embedding Maps, Videos & More
Learn how to embed Google Maps, YouTube videos, and other third-party content into your page.
Embedding third-party content
You can embed maps, videos, and other external content into your page using the Custom Code block. This lets you paste any HTML embed code directly into your site.
How to add a Google Map
Step 1 — Get the embed code from Google Maps
- Go to google.com/maps
- Search for the address or business name
- Click the Share button (next to the Directions button)
- Click the Embed a map tab
- Choose a size (Medium works well for most pages)
- Click Copy HTML
The code will look something like this:
<iframe src="https://www.google.com/maps/embed?pb=!1m18!..." width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
Step 2 — Add the map to your page
- In the MkPage editor, find Custom Code in the sidebar (under Extra)
- Drag it onto your page where you want the map
- Double-click the Custom Code block to open the code editor
- Paste the Google Maps iframe code
- Click Save
Tip: Change width="600" to width="100%" so the map stretches to fill the full width of its container.
How to embed a YouTube video
Step 1 — Get the embed code from YouTube
- Go to the YouTube video you want to embed
- Click Share below the video
- Click Embed
- Copy the iframe code
Step 2 — Add the video to your page
- Drag a Custom Code block onto your page
- Double-click it to open the code editor
- Paste the YouTube iframe code
- Click Save
Tip: Add style="width:100%; aspect-ratio:16/9;" to make the video responsive.
How to embed an Instagram post
- Go to the Instagram post on the web
- Click the three dots (⋯) → Embed
- Copy the embed code
- Paste into a Custom Code block in the editor
How to embed a Spotify player
- Go to the track, album, or playlist on Spotify
- Click Share → Embed
- Copy the embed code
- Paste into a Custom Code block in the editor
Other embeds
The Custom Code block accepts any valid HTML, so you can embed content from virtually any platform that provides embed codes, including:
- Calendly — booking widgets
- Typeform — surveys and quizzes
- SoundCloud — audio players
- TikTok — video embeds
- Google Forms — form embeds
Just find the embed/iframe code from the platform and paste it into a Custom Code block.
Tips
- Always use
width="100%"on iframes so they look good on mobile - If an embed looks too tall or short, adjust the
heightvalue in the iframe code - Some embeds load additional scripts — this is normal and won't affect your site's performance significantly