@bitmovin/player-integration-webxr - v1.2.0
    Preparing search index...

    Function probeVolumeControl

    • Whether the page can set media volume at all.

      WebKit on iPhone, and on some iPad builds, leaves volume to the hardware buttons: a write to HTMLMediaElement.volume is accepted, then reverted in a queued task, so a slider there would move and change nothing. Hence the second check, well after that task: tasks from different sources are not ordered against each other, and nobody reaches for the slider this soon. Probed on a detached element so the player sees no volume events.

      Returns Promise<boolean>