Prerequisites
- A video template. See Generate videos.
- The Scale or Enterprise plan.
- An API key, kept on your server. See Authentication.
Create a video link
A video link is a signed URL of a video template. The SDKs sign it on your server and make no network request.- JavaScript
- Python
- PHP
- Go
format, or with format=m3u8, is its video link.
Play the video link
The video link answers an HLS playlist (application/vnd.apple.mpegurl). Safari plays it in a <video> tag:
Play it with the embed player
The embed player plays the video template in the viewer’s browser, so nothing renders on Bannerify’s side: it starts at once, at full quality, at any length. Take the query of the video link and put it afterhttps://embed.bannerify.co/play:
#loop to the end of the URL to play it in a loop. Any site can show the player, as any site can show the video link.
What renders again
Bannerify keeps each rendered part of a video. When you change a modification, only the parts of the video that show the changed layers render again. The other parts play from storage at once. For example, if a price shows from second 5 to second 10, a new price renders those 5 seconds only. A video link that was opened before, with the same template and the same modifications, plays from storage with no render.Get an MP4 file
Setformat to mp4 to get the video as one MP4 file, for videos of up to 15 seconds. The link redirects to the MP4 when its whole render is done, so use it where a player or a platform needs one complete file.
- JavaScript
- Python
- PHP
- Go
format set to png, jpeg, or webp answers a still image of the template.
Limits and usage
A video counts one generation for each second, and two for each second at 60 fps. A video link counts when it opens with a new set of modifications, and the embed player when it loads one. An MP4 counts once its render is done. Bannerify keeps a rendered video for up to 30 days. Opening the same template with the same modifications in that time plays the stored video and counts no new generation.