THEOplayer Web SDK
    Preparing search index...

    Interface NetworkConfiguration

    Describes the network configuration of a player.

    interface NetworkConfiguration {
        allowMixedContent?: boolean;
        useStreamingFetch?: boolean;
    }
    Index
    allowMixedContent?: boolean

    Whether mixed HTTP/HTTPS content is allowed.


    - Available since v11.12.0.
    - By default, the player assumes that it cannot load HTTP URLs when inside an HTTPS page because of mixed content restrictions. Therefore, the player will automatically convert HTTP URLs to HTTPS before loading them.
    - When this option is set to true, the player may assume that mixed content is allowed on the current platform, and will not automatically convert HTTP URLs to HTTPS.
    - When set, this option takes precedence over the deprecated PlayerConfiguration.allowMixedContent.

    false

    useStreamingFetch?: boolean

    Whether the player will attempt to consume fetch responses as streams.


    - Available since v11.9.0.
    - When this option is set to false, the player will not try to consume fetch responses as streams (override for devices with broken streaming-fetch support).

    true