Embed code, lead form and call to action
Every plan can put a video on its own site with an embed code. It needs no app or website plan.
Embed code
How do I put a video on my own site?
- Open the video in your Library. It must be published, have a file, and be Free under Monetization Type.
- Find the Embed card.
- On the Free and Web Only plans, add at least one site under Allowed sites and choose Save sites.
- Choose Copy and paste the code into your page. In WordPress, use a Custom HTML block.
The code never changes, so you can edit the video later without pasting it again. Open player shows the player on its own.
Why does the Embed card not give me a code?
- Publish this video to get its embed code.
- Tick Publish this video and save.
- Upload a video file to get its embed code.
- Upload a file under Video File.
- It will start playing when encoding finishes.
- You already have a code. The player starts working when encoding finishes.
- Add a site this video may play on to get its embed code.
- List a site for this video, or for all your videos under Settings, Embed.
- Videos rated for mature audiences can't be embedded on the Free plan.
- Change the video's rating if the current one is wrong.
- Embed codes are for free videos only for now.
- Set Monetization Type to Free. A paid video has no Embed card at all.
- Embed codes aren't available for self-hosted videos yet.
- Only videos uploaded to OTTEngine can be embedded.
- Embed codes aren't available for live streams yet.
- Only on-demand videos can be embedded.
How do I choose which sites can show a video?
There are two lists. Allowed sites on a video's Embed card applies to that video. The list under Settings, Embed applies to every video that has no list of its own.
- One per line, like example.com. *.example.com covers its subdomains but not example.com itself.
- A list can hold up to 20 sites.
- A change reaches the player within about 7 minutes.
- On the Free and Web Only plans a video plays only on sites you list, so a list is required.
- On other plans, an empty list means any site can show the video.
Can I put my own logo on the embedded player?
No. Every plan's embedded player shows the OTTEngine mark.
Why is the player always wide?
The code always makes a 16:9 frame that fills the width of its container, because encoding fits every video to that shape. A portrait video appears with bars at its sides.
Do embedded plays count?
Yes. They count toward your watch time and appear as Embed on the Analytics pages. An embed never takes up one of your plan's platforms.
Lead form and call to action
How do I collect leads from a video?
On the video's Embed card, turn on Lead form, fill it in, and choose Save details.
- When
- Before it plays, When it is paused or When it ends.
- Title
- The form's heading. Left blank it says "Leave your details".
- Button
- The button's words. Left blank it says "Send".
- Extra questions
- Name and email are always asked. You can add up to 3 more, each with a Required box.
- Consent wording
- What viewers tick to submit. Keep it clear that you receive their details and analytics.
Answers appear on your Leads page. Each plan has a number of leads a month.
How do I add a call-to-action button?
On the Embed card, turn on Call to action and choose Save details.
- Button text
- What the button says, such as "Learn more".
- Link
- Where it goes. Viewers open this address when they select it.
- Button position
- Which corner of the player it sits in.
- From (seconds)
- When it appears. Leave blank for the start.
- Until (seconds)
- When it goes. Leave blank to keep it to the end.
Turning it off removes what you typed.
Where do the form and the button show?
On that video's embedded player. If your plan has a website, they also show on your website's player.