Function workaroundYoutubeMixedContent

  • Workaround Youtube mixed content if upgradeToHttps is true.

    Parameters

    • elem: Element

      The element to change.

    • attr: string

      The attribute to adjust.

    Returns void