IMA SDK ads on Safari mobile web showing repetitively

Hi,

My team uses Shaka player to play audio content on our website. We recently enabled Ads via Google IMA SDK. The ads and content plays fine for all browsers except Safari mobile web. The issue is that the player repetitively plays the ad. From my investigation I found out that once the ad plays, the source property of the audio HTML element is replaced with the ad url instead of retaining the content url and that is why the ads continues to play.

Related issues: https://github.com/shaka-project/shaka-player/issues/2837 https://github.com/shaka-project/shaka-player/issues/2792

Safari/iOS apparently doesn't allow multiple video/audio elements to accommodate separation between the content and the ads.

Can you help fix this?

IMA SDK ads on Safari mobile web showing repetitively
 
 
Q