JWPlayerConfiguration

@objc
public final class JWPlayerConfiguration : NSObject

Configuration object used to create a JWPlayer instance.

  • External playback settings

    Declaration

    Swift

    public var externalPlaybackSettings: JWExternalPlaybackSettings?
  • The player’s “Dashboard Player Configuration Key” (pid) used by JWDashboard analytics. Optional.

    Warning

    Must be an 8-char alphanumeric, or will fire a warning.

    Precondition

    The playerID must already exist in the JW Dashboard property associated with the License Key, or else it will be ignored by the analytics platform.

    Note

    Not to be confused with the JS player’s id property, which is a reference used to tag the actual element/object (such as the div in a web browser context).

    Declaration

    Swift

    public internal(set) var playerId: String? { get }