Advertisements (Further as "ads") can be enabled on channels, recordings and media.
Each new ad added consist of 4 things:
Each media can have only 1 PRE and 1 POST urls specified, but unlimited amount of MID urls.
For recordings and media, the MID type offset will be a percentage of the whole video length. I.e. 25% set on a video 60 seconds long will have an ad placed at 15 seconds.
For live channels the MID type offset will be a timecode (00:00:00) string after which an ad is shown. I.e. 00:00:30 set on a live channel will show an ad after 30 seconds of watching the live channel.
Ad settings for media in the admin panel:
Ad Urls in our system contain extra custom macros (Ones not specified in VAST specification) that will be replaced before the Url is called:
|Encoded url of the page the media was embedded in||http%3A%2F%2Fmediawebsite.com%2Fmediapage|