Embed codes can be copied from video services like Youtube, Vimeo, Wistia, etc…
For example, on Youtube you can get the embed code by following these steps:
- On a computer, go to the YouTube video you want to embed.
- Under the video, click Share button.
- Click Embed.
- From the box that appears, copy the HTML embed code.
After that you can paste the embed code into the embed code field in the post settings or in the video element you’re using.
For Self-hosted videos
If you want to add a self hosted .mp4 video (for example a video uploaded to your WordPress Media files) to pixfort Video element, you can write the embed code as following:
<video controls>
<source src="VIDEO_URL" type="video/mp4">
</video>
*And replace VIDEO_URL with the video URL.