You can add external media files, such as a YouTube video, to a rich text module using the embed code or a file URL from a supported provider. Learn more about best practices for embedding different types of external content.
To add video to a starter template, add a video embed module to your template.
Supported file types
The embedded media feature only supports specific content types. Media added with a file URL from a different provider is not likely to render correctly on your page.
- The following media types are supported in blog posts, landing pages, and website pages:
- Giphy
- TwentyThree
- Dailymotion
- Wistia
- Instagram
- Vimeo
- YouTube
- The following media types are supported in knowledge base articles:
- Instagram
- Vimeo
- Wistia
- YouTube
To embed content from another provider, use the full embed code to embed your file within the source code of the rich text module.
- In your HubSpot account, navigate to website pages, landing pages, blog, or knowledge base.
- Hover over the page, post, or article you want to add media to and click Edit.
- Click the rich text module where you're adding your media.
- In the upper right section of the toolbar, click the Insert dropdown menu and select embed Embed.
- In the Embed Code dialog box, paste the media's URL or embed code.
- In the lower right, click Insert.
The easiest way to replace an embedded file is to delete the original, and repeat the steps above.
- In the content editor, click the video or audio file, then click Remove.
- Repeat the steps above to embed a new file URL.
Learn more about how to edit the styling of an embedded video.