How it works
- Your server signs a video link of the template, with the modifications of the viewer.
- Your page opens the query of that link at
https://embed.bannerify.co/playin an iframe. - Bannerify checks the signature and your plan, and draws the layers of the template with your modifications.
- The viewer’s browser plays the video: it moves each layer at each frame, with the animations, the video layers and the sound of the template.
Prerequisites
- A video template. See Generate videos.
- The Scale or Enterprise plan.
- An API key, kept on your server. See Authentication.
Create the player URL
1. Sign a video link
Sign the video link on your server. The SDKs sign it without a network request.2. Build the player URL
Take the query of the video link, and put it afterhttps://embed.bannerify.co/play:
3. Show the player
Put the player URL in an iframe on your page:Size the player
The player fits the video inside the iframe, and fills the space around it with black. Give the iframe the aspect ratio of the template to show no bars. For a page that changes width:Options
Options go after# at the end of the player URL, because the signature covers the query.
Controls
The player starts paused, because browsers do not play sound before the viewer touches the page. The viewer starts the video with the large play button, or with a click on the video.
While the video plays, the controls hide when the pointer stops, and show again when it moves.