This object defines style information which can be used by content providers to change the Media Player’s style related properties.

MatterSpecification.v13.Cluster § 6.7.5.9

interface StyleInformation {
    color?: string;
    imageUrl?: string;
    size?: TypeFromFields<{
        height: FieldType<number>;
        metric: FieldType<ContentLauncher.MetricType>;
        width: FieldType<number>;
    }>;
}

Hierarchy (view full)

Properties

color?: string

This field shall indicate the color, in RGB or RGBA, used for styling different Video Player sections like Logo, Watermark, etc. The value shall conform to the 6-digit or 8-digit format defined for CSS sRGB hexadecimal color notation [https://www.w3.org/TR/css-color-4/#hex-notation]. Examples:

• #76DE19 for R=0x76, G=0xDE, B=0x19, A absent

• #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80

MatterSpecification.v13.Cluster § 6.7.5.9.2

imageUrl?: string

This field shall indicate the URL of image used for Styling different Video Player sections like Logo, Watermark etc.

MatterSpecification.v13.Cluster § 6.7.5.9.1

size?: TypeFromFields<{
    height: FieldType<number>;
    metric: FieldType<ContentLauncher.MetricType>;
    width: FieldType<number>;
}>

This field shall indicate the size of the image used for Styling different Video Player sections like Logo, Watermark etc.

Type declaration

  • height: FieldType<number>

    This field shall indicate the height using the metric defined in Metric

    MatterSpecification.v13.Cluster § 6.7.5.8.2

  • metric: FieldType<ContentLauncher.MetricType>

    This field shall indicate metric used for defining Height/Width.

    MatterSpecification.v13.Cluster § 6.7.5.8.3

  • width: FieldType<number>

    This field shall indicate the width using the metric defined in Metric

    MatterSpecification.v13.Cluster § 6.7.5.8.1

MatterSpecification.v13.Cluster § 6.7.5.9.3