This project hosts samples for the HTML5 DAI IMA SDK.
HLS.js simple - Simple example using HLS.js.
HLS.js advanced - Advanced example using HLS.js.
DAI Pre-roll - Demonstrates using the IMA client-side SDK to request a pre-roll ad, then the IMA DAI SDK to play a DAI stream with mid-rolls.
Your favorite text editor. An HTML5 compliant browser. A webserver on which to host the sample.
For more information, see the documentation at https://developers.google.com/interactive-media-ads/docs/sdks/html5/dai.
For API and client library updates and news, please follow our Google+ Ads Developers page and our Google Ads Developers blog.
Copyright 2017 Google Inc. All Rights Reserved. You may study, modify, and use this example for any purpose. Note that this example is provided "as is", WITHOUT WARRANTY of any kind either expressed or implied.