question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility with VMAP timeOffset (percentages)

See original GitHub issue

Hello guys,

I’m trying to deliver a mid-roll that would appear in the middle of the content video no matter the length of that video. The VMAP standard provides support for a percentage to be added as a value to the timeOffset attribute, but it doesn’t seem to work with this plugin.

Example of the XML: <vmap:AdBreak timeOffset="50%" breakType="linear" breakId="block_2"> <vmap:AdSource id="source_2" allowMultipleAds="false" followRedirects="true"> <vmap:VASTAdData> </vmap:VASTAdData> </vmap:AdSource> </vmap:AdBreak>

I tried to use “50%”, or “50”, nothing like that seems to work, in the console I see the following error:

AdsLoader error: AdError 900: Cannot parse the timeOffset value for the adslist response: 50.

Check page 16 in the standard (can’t search for it by ctrl+f):

http://www.iab.com/wp-content/uploads/2015/06/VMAP.pdf

Thanks a bunch

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shawnbusocommented, Oct 19, 2017

This is still the case - IMA does not yet support percentage time offsets for VMAP.

0reactions
adamellsworthcommented, Jun 28, 2020

Wanted to check in on this as well and ping the devs. Docs still state Time offsets other than hh:mm:ss or "start" and "end" so i’m guessing it was never implemented.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Video Multiple Ad Playlist (VMAP) - Version 1.0 - IAB
An ad break may contain an identical time offset as another ad break and is common when a linear ad is followed by...
Read more >
AWS Elemental MediaTailor supported video Ad serving ...
How VMAP works in the context of AWS Elemental MediaTailor is pretty much how it is ... <vmap:AdBreak breakType="linear" timeOffset="start"> ...
Read more >
Knowledge: VMAP ad calls - Smart Adserver
The timeOffset attribute of each <vmap:AdBreak> node specifies the position ... a percentage of the content video duration with suffix “%”; example: 15%,55% ......
Read more >
draft-pantos-hls-rfc8216bis-12 - IETF Datatracker
It offers compatibility with large-scale HTTP caching infrastructure to ... The first two Transport Stream packets in a Segment without an EXT-X-MAP tag ......
Read more >
Inserting ads on the client side - Microsoft Learn
VMAP files specify when to play various ads and contain VAST XML. ... Each player framework works differently and each will be covered...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found