Skip to main content
All CollectionsPublishing Videos
Embedding a Video on Your Site
Embedding a Video on Your Site

How to use the embed code and embed code options.

Updated over a week ago

Embedding a video to your site means that you are adding the video to your web page and the video is becoming part of your page. This is possible via your video embed code.

Embed code can be added wherever HTML is allowed. It can be added to your custom made website, added via Wordpress or more specific plugins like LearnDash or Elementor, or any number of third party page builders like Clickfunnels or SamCart.

Video embed code can be retrieved in 2 places:

The Publish button in the list of videos inside of a Project:

And also inside the individual video settings:

When either button is clicked you will be given your Publish options, and the first option is your embed code. You can simply click on this icon to copy the code:

Here is an example of embedding a video on a WordPress site. Go to your Post or Page, and then add the embed code.

Keep in mind you need to be sure you are using the Code Editor, not the Visual Editor, to add your embed code in this way. (More on using Wordpress here).

That's it. The video is now added to your page.


There are some other options to use for your embed code as well:

Custom Start/End Time - Here you will be able to choose when your video starts and ends. For example, start your video at the :20 second mark for everyone and automatically skip those first 20 seconds.

Set optimized resolution - If you want your audience to be served a particular resolution by default, then enable this option and choose your resolution.


By default, the highest available resolution will always be served. This means that if your original video is in Full HD, then 1080p will be streamed. The option "Set optimized resolution" allows you to select a lower resolution as default.

Display as Audio player - For your audio or podcast files.

Custom Aspect Ratio & Orientation - Here you can change the aspect ratio, for example, if you have a 4:3 video or a square 1:1 video.

Anonymize viewing data - Enable if you don't want Spotlightr to collect any information at all about viewers, like their IP address for example.

Advanced code - Enable this if you want to use our Floating video feature or adjust the player size.

There are also other features that require the Advanced code. For more information we have an article dedicated to using the Advanced Embed code.

Did this answer your question?