THEOplayer Web SDK
    Preparing search index...

    Interface SocialSharing

    The social sharing API which can supplement the UI with a social sharing panel.


    - Available since v2.14.5.

    interface SocialSharing {
        items: SocialSharingItem[];
        showing: boolean;
        url: string;
        hide(): void;
        show(): void;
    }
    Index

    Properties

    Methods

    Properties

    List of social sharing items which can be shown.

    showing: boolean

    Whether the social sharing panel is showing.

    url: string

    The URL that will be shared.

    Methods

    • Hide the social sharing panel.

      Returns void

    • Show the social sharing panel.

      Returns void