THEOplayer > ID3CommercialFrame
Inherits from ID3BaseFrame. See parent page for inherited properties and methods.
Represents a commercial ID3 frame.
Signature:
export interface ID3CommercialFrame extends ID3BaseFrame
Property |
Type |
Description |
---|---|---|
|
The contact URL for the product. |
|
|
The description of the product. |
|
|
The identifier of the frame. |
|
|
The name of the seller of the product. |
|
pictureMimeType (optional) |
|
The mime type of the company logo. |
|
The price of the product. |
|
|
The delivery method of the product, represented by a value from the following list: |
|
sellerLogo (optional) |
|
The data for the company logo. |
|
The expiration date of the offer. |
The contact URL for the product.
Signature:
contactURL: string;
The description of the product.
Signature:
description: string;
The identifier of the frame.
Signature:
id: 'COMR';
The name of the seller of the product.
Signature:
nameOfSeller: string;
The mime type of the company logo.
Signature:
pictureMimeType?: string;
- This mime type is applicable on the data in ID3CommercialFrame.sellerLogo.
- Only 'image/png'
and 'image/jpeg'
are allowed.
The price of the product.
Signature:
price: string;
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;
The expiration date of the offer.
Signature:
validUntil: string;
- The format of this property is 'YYYYMMDD'