DAI events are not getting captured in Safari

98 views
Skip to first unread message

harshal...@gmail.com

unread,
Mar 19, 2021, 1:09:43 PM3/19/21
to Interactive Media Ads SDK
Hi, 
        We are trying to run a DAI livestream using videojs + Google DAI sdk. In Safari, DAI events are not getting captured. Upon going to verify, the same behaviour is observed for the DAI streams inspector (https://developers.google.com/interactive-media-ads/docs/sdks/html5/dai/testing-dai) while checking on Safari.

Could you please guide regarding the same?

Regards,
Harshal

IMA SDK

unread,
Mar 19, 2021, 2:20:32 PM3/19/21
to harshal...@gmail.com, ima...@googlegroups.com
Hi Harshal,

Thank you for reporting this. The DAI stream tester doesn't ping in Safari. You can try https://storage.googleapis.com/interactive-media-ads/hosted-samples/DAI%20Live%20HLS/index.html. I tried this player in Safari iOS on an iPhone 8 plus device. I verified in the Mac Safari development tools that pings fired. There is logic in that sample app to use the Native HLS player on Safari and Safari Mobile, and to use HLS.js on Chrome and other browsers. HLS.js has incompatibilities that causes no pings in Safari. You can get the dai.js from Devtools and match your implementation against it. "use_native_player()" determines what type of device and web browser and "loadUrl(url)" has the logic for each type of player. The Simple Native Sample should also work with Safari.

Regards,

Google Logo
Aryeh Baker
IMA SDK Team
 


ref:_00D1U1174p._5004Q2DxBPH:ref
Reply all
Reply to author
Forward
0 new messages