VOD with Your Player
Use this prompt to add pre-roll, mid-roll and post-roll ads to VOD content played by your own HLS.js, Bitmovin, dash.js or Shaka Player instance. The ads play in the SDK's own video element over the content. The prompt makes the LLM wire requestVodAd, the ad listener and content-end handling into your existing player code. See VOD Ad Implementation.
Update an Existing VOD Integration
Use this prompt if your app already shows VOD ads with an older integration that pauses, resumes, seeks, or delays the content or the ad by itself (for example, pausing the player in onPlay, delaying play() in onPrepare, or calling videoElement.play() in onCompleted). The SDK now controls the content around ad breaks, so that app code now causes problems such as content audio under the pre-roll or a mid-roll starting late. The prompt makes the LLM remove that code and adopt the isContentPrepared pattern. See VOD Ad Implementation.