Skip to content

Bug: Video audio resumes on app foreground when the overlay is present #1285

Description

@OlenaPostindustria

Description

When an interstitial video ad is clicked and the App Store overlay or SafariViewController is presented, the app can be sent to the background (for example, when the user opens the App Store). If the user then returns to the app while the overlay is still displayed, the video's audio resumes playing automatically.

The video itself is not visible because it is covered by the overlay, but its audio continues playing in the background.

Expected Behavior

The video should remain paused while the overlay is displayed. No video playback or audio should resume until the user returns to the ad.

Root Cause

The video view remains registered for application lifecycle notifications. When the app enters the foreground, the notification handler invokes play() on the video player, causing audio playback to resume even though the video is obscured by the overlay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions