How can I play content with DAI and preroll Content in Video JS/React JS in google IMA

10 views
Skip to first unread message

Ashish Diwedi

unread,
Sep 23, 2024, 5:26:29 AMSep 23
to Interactive Media Ads SDK

I have content, in which I have to play pre-roll ads first and then I have to play the DAI content, But I am not sure how to achieve this, this is working using HLS but not working with video.js.

I am using video js and Google IMA SDK for this task
"video.js": "^7.20.1" "videojs-ima": "^2.1.0", "videojs-contrib-ads": "^6.9.0",

I would be grateful if any suggestions can be provided on this

I have tried adding both with the video js player object but am getting an error as added in the attachment.

Sample Data used :-
daiKey: "c-rArva4ShKVIAkNfy6HUQ",
adTagUrl: "https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=",

IMA SDK

unread,
Sep 23, 2024, 11:47:14 AMSep 23
to adiw...@kloudrac.com, ima...@googlegroups.com

Hi Ashish,

Thank you for contacting the IMA SDK Support team.

Could you provide more information on how it's working fine in HLS format along with your error attachment which I am unable to see. Also provide code snippets/ Sample Project for further investigation.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002vGVBRQA4&entry.80707362=00269142

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGVBR:ref" (ADR-00269142)

Thanks,
 
Google Logo IMA SDK Team

 

Reply all
Reply to author
Forward
0 new messages