Playback the channel

7.3 Enable playback of ads

Once your configuration has been created, you will see Playback endpoint prefixes listed at the top of the page. Copy the HLS Playback prefix into the player we use earlier (link here).

Append the manifest name and player parameters below to prefix:

index.m3u8?ads.my_ads_params=trgt%3Delemental

The above assumed you specified index as your manifest name when creating your channel in step 4. If you used a different manifest name, you will need to specify that in your URL instead. The parameters defined above are specific to the ADS we are using in this workshop

Your final URL should look similar to this:

https://xxxxxxxx.mediatailor.ap-southeast-2.amazonaws.com/v1/master/zzzzzzzz/ChannelAssemblyAdConfig/index.m3u8?ads.my_ads_params=trgt%3Delemental

Since MediaTailor has not yet served these ads in your account, the service will initially transcode them to match the source content. As a result, you will not see any ads for the first few attempts and will instead continue to see the underlying ad slate.