Closed MMidali closed 3 years ago
Hello @MMidali ,
The IMA SDK does not support VMAP percentage time offsets, which could have been a simple solution to this issue.
Because of the async nature of this.on('loadedmetadata', () => { ...
, is it possible to add the call to player.ima(imaOptions)
to the end of the function so it is only called after you have the metadata?
If not, I would recommend using a specific time for your midrolls instead of directly halfway through the content.
Thank you, Jackson IMA SDK DevRel
I'll try and let you know.
I hope to find a useful solution for other people with the same problem.
Hello,
I'm trying to pass a vmap to adsResponse and set the mid-roll timeOffset at 50% of the total video duration.
my code is
the real problem is that the metadata are loaded after the vmap is being set as adsResponse.