---
title: "How to embed videos with HTML macro"
canonical: "https://support.appfire.com/space/HTML/380797694/How%20to%20embed%20videos%20with%20HTML%20macro"
format: markdown
---
> Macro (aura-html)

This article shows how you can embed videos from a remote location in your Confluence page.

For our scenario, let’s refer to a publicly available video.

1. Add an *HTML* macro to the required page.
2. Select *HTML embed code* from the *Data source* drop-down in the *Data source* tab.
3. Enter an HTML `<video>` tag in the given code block for this scenario. You can also use the `<object>` tag.
4. **Save** the changes and **publish** the page.

> 📝 - There are three supported video formats in HTML: MP4, WebM, and OGG. Thus, you must ensure that when using the HTML `<video>` tag, the video must be in one of the listed formats so that the video can be shown.
> 📝 - If the video is not visible at all, verify the video source and resolve any permission issues.
> 📝 - If the video is not visible in its entirety, enter the required width and height in the tag’s parameter.

## Relevant information

- This page uses an *HTML* macro to display the sample video. You can edit this page and check out the macro for details.
- We are going to refer to the video available online at [https://www.w3schools.com/tags/movie.mp4](https://www.w3schools.com/tags/movie.mp4) for this tutorial.
- It is recommended to use profiles to refer to a video available in private locations. Administrators must provide the base location during profile creation, and users can then enter the relative URL of the video in the macro editor. Read the [Configuration](https://appfire.atlassian.net/wiki/spaces/HTML/pages/70616968/Configuration+-+Cloud#HTML_Cld_Profiles) page for more information about profiles.