You can embed the trailer of a product on your external website. When someone subscribes to your OTT site, they will be redirected to your Vimeo OTT hosted site to view the video content. The videos do not get embedded on your site.
Learn more about promoting your content on your external website.
Embed videos on your website
If you want to embed public videos onto your website (i.e. their "Plans" setting is set to "Anyone"), use the following template as your embed code:
<iframe src="https://embed.vhx.tv/videos/123456" width="640" height="360" frameborder="0" allow="encrypted-media" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
Note the bolded "123456" in the code is a placeholder for the video ID, which you will replace with the ID of the video you want to embed.
To find the video ID, go to your admin and navigate to Content > Videos, and select the video. Once you're on the video settings page, take note of the URL in the browser address bar; it will look like sitename.vhx.tv./admin/manage/videos/123456/general. The numbers in the URL are your Video ID.
Embed DRM-enabled videos
If you have DRM-enabled videos, be sure to add the following snippet in order for your video to playback:
allow="encrypted-media"
Example embed code for DRM videos:
<iframe src="https://embed.vhx.tv/videos/123456" width="640" height="360" frameborder="0" allow="encrypted-media" webkitAllowFullScreen
mozallowfullscreen allowFullScreen></iframe>
Embed with API by creating an authorization
Alternatively, if you use our API, you can embed any video onto your site regardless of who has access to it by creating an authorization.