@duckduckgo/content-scope-scripts
    Preparing search index...

    Module Duck Player Overlays

    Duck Player Overlays are either the small Dax icons that appear on top of video thumbnails when browsing YouTube. These icons allow users to open the video in Duck Player.

    On the YouTube player page, the main Duck Player Overlay also allows users to open the video in Duck Player, or dismiss the overlay.

    On Page Load

    Then the following message can be sent at any time

    Please see DuckPlayerOverlayMessages for the up-to-date list

    All features are off by default. Remote config is then used to selectively enable features.

    For example, to enable the Duck Player Overlay on YouTube, the following config is used:

    📝 JSON example

    Classes

    DuckPlayerOverlayMessages
    OpenInDuckPlayerMsg
    Pixel

    Interfaces

    OverlaysInitialSettings
    UISettings
    UserValues

    Type Aliases

    OverlaysFeatureSettings