npx skills add ...
npx skills add google/skills --skill ima-dai-sdk
Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps. Use when: - A video player needs to load and play HLS or DASH streams in web apps, Android apps, iOS apps, tvOS apps, Cast (CAF) receivers, or Roku channels. - The app needs to make use of a Google DAI livestream event asset key, or content source CMS ID, video ID for video on demand. Don't use this skill to load and play a VAST or VMAP URL.
npx skills add google/skills --skill ima-dai-sdk
Use the IMA DAI SDK to load HLS or DASH streams into the app for:
Review the platform-specific integration guides for the target platforms:
Web/HTML5/ReactJs/NodeJs/Angular: Read
StreamManager guide for loading
stream URL from Google full-service DAI into <video> element.
ChromeCast: Read StreamManager guide for integrating the IMA DAI SDK into a ChromeCast Web Receiver.
Android: Read ImaServerSideAdInsertionMediaSource guide for integrating Media3 Exoplayer IMA extension.
iOS/tvOS: Read
IMAStreamRequest guide for
playing streams with AVPlayer.
Roku: Read StreamManager guide for implementing DAI on Roku SceneGraph.