VPKPlayerItem

@interface VPKPlayerItem : NSObject

Metadata object for defining a video as part of a video playlist, which consists of an array of these items. Video playlists can be assigned to the playlist property of a VPKPreview or VPKVeepViewer

  • Video media item URL (required)

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSURL *originalContentURL;
  • Preview image URL (required).

    This will be used as the thumbnail image in the playlist, and as the poster image for the video.

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSURL *previewURL;
  • Title string, if provided (optional)

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *title;
  • Media identifier string, if provided (optional)

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *mediaIdentifier;
  • Custom data dictionary of strings (optional)

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *customData;