Skip to content

Interstitial asset scheduling accuracy #7468

@bbert

Description

@bbert

Is your feature request related to a problem? Please describe.

Scheduling interstitial assets loading and playing is currently triggered by the timeupdate event of the video element, which leads to inaccurate scheduling since timeupdate event is triggered at most every few hundred ms.

For scenario such as ad replacement accuracy is critical for user experience.

Describe the solution you'd like

A solution could be to rely on the requestVideoFrameCallback() API, if available, to be frame accurate.

If requestVideoFrameCallback() API is not available, a fallback solution could be to set a timer as we are getting close to the intersitial time, without waiting for next behindhand timeupdate event.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions