logo

THEOplayer > ID3CommercialFrame

ID3CommercialFrame interface

Inherits from ID3BaseFrame. See parent page for inherited properties and methods.

Represents a commercial ID3 frame.

Signature:

export interface ID3CommercialFrame extends ID3BaseFrame 

Properties

Property

Type

Description

contactURL

string

The contact URL for the product.

description

string

The description of the product.

id

'COMR'

The identifier of the frame.

nameOfSeller

string

The name of the seller of the product.

pictureMimeType (optional)

string

The mime type of the company logo.

price

string

The price of the product.

receivedAs

number

The delivery method of the product, represented by a value from the following list:
- 0: Other
- 1: Standard CD album with other songs
- 2: Compressed audio on CD
- 3: File over the Internet
- 4: Stream over the Internet
- 5: As note sheets
- 6: As note sheets in a book with other sheets
- 7: Music on other media
- 8: Non-musical merchandise

sellerLogo (optional)

ArrayBuffer

The data for the company logo.

validUntil

string

The expiration date of the offer.

Property Details

contactURL

The contact URL for the product.

Signature:

contactURL: string;

description

The description of the product.

Signature:

description: string;

id

The identifier of the frame.

Signature:

id: 'COMR';

nameOfSeller

The name of the seller of the product.

Signature:

nameOfSeller: string;

pictureMimeType

The mime type of the company logo.

Signature:

pictureMimeType?: string;

Remarks


- This mime type is applicable on the data in ID3CommercialFrame.sellerLogo.
- Only 'image/png' and 'image/jpeg' are allowed.

price

The price of the product.

Signature:

price: string;

receivedAs

The delivery method of the product, represented by a value from the following list:
- 0: Other
- 1: Standard CD album with other songs
- 2: Compressed audio on CD
- 3: File over the Internet
- 4: Stream over the Internet
- 5: As note sheets
- 6: As note sheets in a book with other sheets
- 7: Music on other media
- 8: Non-musical merchandise

Signature:

receivedAs: number;

The data for the company logo.

Signature:

sellerLogo?: ArrayBuffer;

validUntil

The expiration date of the offer.

Signature:

validUntil: string;

Remarks


- The format of this property is 'YYYYMMDD'

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona