The ads is not playing on ios devices. While using the adsManager.setVolume(0) or mutes then it i splaying on ios device. This is a bad experience for end user to unmute each and evrytime for different type vast urls(Pre,Multiple Mid and Post).
Trying to implement using the sample example "attemp_to _autoplay" but facing multiple types of issues.
Click on Big Play Button
ads4.js?v=12:51 Autoplay check
ads4.js?v=12:54 Player {player_: Player, isDisposed_: false, parentComponent_: null, options_: {…}, id_: 'contentElement', …}
ads4.js?v=12:158 Autoplaye check resolved
bridge3.575.0_debug_en.html:999 [ 1.953s] [ima.loader.AdsLoaderImpl] Requesting ads using new ads loader.
bridge3.575.0_debug_en.html:999 [ 1.953s] [ima.loader.AdsLoaderImpl] requestAds, processing external request.
bridge3.575.0_debug_en.html:999 [ 1.953s] [ima.loader.SequentialAdsLoader] Enqueued new request.
bridge3.575.0_debug_en.html:999 [ 1.954s] [ima.loader.SequentialAdsLoader] Starting request from queue.
bridge3.575.0_debug_en.html:999 [ 2.149s] [ima.loader.AdSourceFactory] Creating WaterfallAdSource.
bridge3.575.0_debug_en.html:999 [ 2.149s] [VastAdSource] hasMoreAds, this.ads.length: 1 , this.currentAdIndex: -1 , this.numAdsSent: 0
bridge3.575.0_debug_en.html:999 [ 2.149s] [VastAdSource] getNextAd, this.currentAdSource: null
bridge3.575.0_debug_en.html:999 [ 2.149s] [VastAdSource] hasMoreAds, this.ads.length: 1 , this.currentAdIndex: -1 , this.numAdsSent: 0
bridge3.575.0_debug_en.html:999 [ 2.149s] [VastAdSource] processNextAd_, currentAdIndex: 0, ads.length: 1
bridge3.575.0_debug_en.html:999 [ 2.149s] [VastAdSource] Setting fallback index to session context: 0
bridge3.575.0_debug_en.html:999 [ 2.150s] [VastAdSource] processInlineAd, successCallback with 1 ads
bridge3.575.0_debug_en.html:999 [ 2.150s] [VastAdSource] hasMoreAds, this.ads.length: 1 , this.currentAdIndex: 0 , this.numAdsSent: 1
bridge3.575.0_debug_en.html:999 [ 2.151s] [ima.loader.SequentialAdsLoader] Starting request from queue.
ads4.js?v=12:215 AdsManagerLoadeed
ads4.js?v=12:224 ad volume value before send to google=1
ads4.js?v=12:254 onAdEvent requested
bridge3.575.0_debug_en.html:999 [ 2.171s] [UrlReporter] Reporting urls for event : show_ad
bridge3.575.0_debug_en.html:999 [ 2.174s] [ima.admanager.BaseAdManager] Could not display companion ads.
ads4.js?v=12:285 Pause requested
ima3_debug.js:511 [ 2.294s] [Html5VideoDisplay] No valid AdMedia; setting url directly.
ima3_debug.js:537 Uncaught TypeError: this.g.load is not a function
at l.load (ima3_debug.js:537:273)
at wE.A (ima3_debug.js:552:75)
at vs (ima3_debug.js:288:200)
at l.dispatchEvent (ima3_debug.js:286:408)
at SC.D (ima3_debug.js:497:246)
at ps (ima3_debug.js:284:208)
at b (ima3_debug.js:282:349)
l.load @ ima3_debug.js:537
wE.A @ ima3_debug.js:552
vs @ ima3_debug.js:288
l.dispatchEvent @ ima3_debug.js:286
SC.D @ ima3_debug.js:497
ps @ ima3_debug.js:284
b @ ima3_debug.js:282
bridge3.575.0_debug_en.html:999 [ 10.178s] [ima.vast.VideoAdEventTracker] dispatching event mediaLoadTimeout
bridge3.575.0_debug_en.html:999 [ 10.179s] [UrlReporter] Reporting urls for event : mediaLoadTimeout
bridge3.575.0_debug_en.html:999 [ 10.180s] [ima.admanager.VideoAdManager] Playback error: [object Object] AdError 402: VAST media file loading reached a timeout of 8 seconds.
bridge3.575.0_debug_en.html:999 [ 10.186s] [UrlReporter] Reporting urls for event : error
bridge3.575.0_debug_en.html:999 [ 10.188s] [ima.utils.ErrorUtils] Error play dispatched: AdError 402: VAST media file loading reached a timeout of 8 seconds.
l_ @ bridge3.575.0_debug_en.html:999
h_.j @ bridge3.575.0_debug_en.html:998
(anonymous) @ bridge3.575.0_debug_en.html:106
Ng @ bridge3.575.0_debug_en.html:106
Tg @ bridge3.575.0_debug_en.html:107
Vg @ bridge3.575.0_debug_en.html:107
HP @ bridge3.575.0_debug_en.html:731
F1 @ bridge3.575.0_debug_en.html:1088
(anonymous) @ bridge3.575.0_debug_en.html:1089
Kt @ bridge3.575.0_debug_en.html:308
I @ bridge3.575.0_debug_en.html:306
f1 @ bridge3.575.0_debug_en.html:1062
l.Ck @ bridge3.575.0_debug_en.html:1066
Kt @ bridge3.575.0_debug_en.html:308
I @ bridge3.575.0_debug_en.html:306
hP.R @ bridge3.575.0_debug_en.html:729
setTimeout (async)
tu @ bridge3.575.0_debug_en.html:319
oP @ bridge3.575.0_debug_en.html:724
l.start @ bridge3.575.0_debug_en.html:1086
l.start @ bridge3.575.0_debug_en.html:1021
S1 @ bridge3.575.0_debug_en.html:1100
R1.start @ bridge3.575.0_debug_en.html:1100
o3 @ bridge3.575.0_debug_en.html:1170
m3.R @ bridge3.575.0_debug_en.html:1168
Kt @ bridge3.575.0_debug_en.html:308
I @ bridge3.575.0_debug_en.html:306
XT @ bridge3.575.0_debug_en.html:838
TT.G @ bridge3.575.0_debug_en.html:837
Ft @ bridge3.575.0_debug_en.html:304
b @ bridge3.575.0_debug_en.html:302
bridge3.575.0_debug_en.html:999 [ 10.190s] [UrlReporter] Reporting urls for event : verificationNotExecuted
ads4.js?v=12:275 qF {message: '', stack: 'Error\n at new qF (
https://imasdk.googleapis.com…
oogleapis.com/js/sdkloader/ima3_debug.js:282:349)', data: {…}}
ima3_debug.js:538 Uncaught TypeError: this.g.pause is not a function
at iE.pause (ima3_debug.js:538:438)
at wE.A (ima3_debug.js:551:27)
at vs (ima3_debug.js:288:200)
at l.dispatchEvent (ima3_debug.js:286:408)
at SC.D (ima3_debug.js:497:246)
at ps (ima3_debug.js:284:208)
at b (ima3_debug.js:282:349)
iE.pause @ ima3_debug.js:538
wE.A @ ima3_debug.js:551
vs @ ima3_debug.js:288
l.dispatchEvent @ ima3_debug.js:286
SC.D @ ima3_debug.js:497
ps @ ima3_debug.js:284
b @ ima3_debug.js:282
ima3_debug.js:537 Uncaught TypeError: this.g.load is not a function
at l.load (ima3_debug.js:537:273)
at wE.A (ima3_debug.js:552:75)
at vs (ima3_debug.js:288:200)
at l.dispatchEvent (ima3_debug.js:286:408)
at SC.D (ima3_debug.js:497:246)
at ps (ima3_debug.js:284:208)
at b (ima3_debug.js:282:349)
l