Embedding the Player
Add your VideoNest video player to any website using a simple embed code.
Getting your embed code
Every video hosted on VideoNest has a unique embed code you can copy from your dashboard.
- Open your VideoNest dashboard and go to Video Library.
- Click the video you want to embed.
- Click the Share / Embed button in the video detail panel.
- Select the Embed tab to reveal the iframe code.
- Click Copy to copy the code to your clipboard.
Your embed code includes your specific video ID already filled in, so you can paste it directly into your site without any edits.
Paste the embed code
Paste the copied iframe code into the HTML of your page where you want the player to appear. The standard embed code looks like this:
<iframe src="https://player.videonest.co/v/VIDEO_ID" width="640" height="360" frameborder="0" allowfullscreen> </iframe>
VIDEO_ID with the ID found in your VideoNest dashboard on the video's detail page. When you copy the embed code directly from the Share / Embed panel, the ID is already substituted for you.The width and height attributes set the pixel dimensions of the player. 640×360 is a standard 16:9 size, but you can adjust these to fit your layout. For fully fluid, responsive embeds, see the next section.
Responsive embeds
The fixed width and height values above work well for fixed-width layouts, but on responsive sites the player can overflow on smaller screens. The solution is to wrap the iframe in a 16:9 aspect-ratio container and let it stretch to fill the available width.
For full instructions and copy-paste CSS, see the Responsive Embeds guide.
Player parameters
You can control playback behavior by appending query parameters to the player URL. Add them after the video ID with a ?, separating multiple parameters with &.
autoplay=1— Start playing as soon as the player loads. Most browsers requiremuted=1to be set alongside autoplay.muted=1— Start with audio muted. Required for autoplay in most browsers.loop=1— Loop the video continuously after it ends.controls=0— Hide the player controls. Useful for background video or silent loops.start=30— Begin playback at a specific second. Replace30with any number of seconds from the start of the video.
Example: autoplay a muted video starting at the 10-second mark:
<iframe src="https://player.videonest.co/v/VIDEO_ID?autoplay=1&muted=1&start=10" width="640" height="360" frameborder="0" allowfullscreen> </iframe>
controls=0 disables the player UI entirely. Make sure your use case does not require keyboard or screen-reader accessibility before hiding controls.Platform-specific notes
WordPress
Paste the embed code into an HTML block (also called a Custom HTML block in the block editor). Do not paste it into the Visual/paragraph editor — WordPress will strip the iframe tag or escape the angle brackets, breaking the embed.
Webflow
Add an Embed element to your page (found in the Add panel under Components). Paste the iframe code into the Embed editor and click Save. The player will render in preview and when published.
Ghost
In the Ghost editor, click the + button to insert a new card and choose HTML. Paste the embed code into the HTML card. Ghost renders the iframe as-is when the post is published.