googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
450 stars 284 forks source link

ads virtually stopped since last chrome update #941

Closed spormeon closed 3 years ago

spormeon commented 4 years ago

This is a bit of an unusual one, ads seem to have virtually stopped since the last chrome update few days ago, they still seem to work ok in FF, there are no errors being thrown, has anyone else been seeing this, I'm stumped as to what is causing it, videojs ima, videojs, not a clue

Kiro705 commented 4 years ago

Hello @spormeon ,

There is currently an issue on Android Chrome with ad tags containing MediaFile tags type="application/x-mpegURL". If the HLS resource has a manifest using cross-origin resources, which Chrome now configures MediaPlayer to refuse to play for security reasons. More information and a work-around is available here https://github.com/googleads/videojs-ima/issues/933

If it is a different, would it be possible to reproduce the issue in the Video Suite Inspector or the videoJS-IMA test page?

damjan25 commented 4 years ago

@Kiro705

  1. Does setting adsRenderingSettings.mimeTypes to just mp4 and webm have any downsides, are there any other video formats that should be added or just mp4 and webm ?
  2. Does this effect vpaid ?
  3. Should this be set on desktop as well or only on mobile ? :thinking: (lately I saw increased number of errors on ios and as well on desktop(that is EVENT ADSERROR from videojs like 303, 1009,...))
    adsRenderingSettings = {
    mimeTypes: [
        'video/mp4',
        'video/webm',
    ],
    }
Kiro705 commented 4 years ago

Hello @damjan25 ,

By setting your mimeTypes to mp4 and webm it will limit what media types the IMA chooses from ad tags. This will also limit it for Vpaid ads. For more information you can see the IMA documentation.

The issue I described is related to only mobile web ad playback on Android devices.

damjan25 commented 4 years ago

@Kiro705 thanks for explanation and solution, I tried it on IOS and Android and number of events "ADSERROR" decreased for 85% per hour :)