Builder

class Builder(media: OGMediaItem)

Constructors

Link copied to clipboard
constructor(media: OGMediaItem)

Functions

Link copied to clipboard
Link copied to clipboard

Overrides the feed-level fit for this item only.

Link copied to clipboard

Image shown while the item has no prepared player (far from the viewport).

Link copied to clipboard

Host actions for the right rail, top to bottom (max 6).

Link copied to clipboard

Splits the page into two stacked videos: the primary media on top, this one below. The secondary is always muted (the primary owns audio, progress, scrubbing and analytics), starts when the page becomes active, and pauses/resumes together with the primary.

Link copied to clipboard

Which half of a split-video page owns the audio (default PRIMARY). Exactly one half is ever audible — the feed's mute state applies to it; the other half is always muted. Scrubbing, progress and analytics stay with the primary regardless.

Link copied to clipboard

Marks this item as a sponsored/ad item (the vertical feed-feed ad model: the server inserts ad videos into the feed). The SDK shows a "Sponsored" chip, never loops it, and auto-advances when it ends.

Link copied to clipboard

Smaller second line under the title — creator name, description, hashtags.

Link copied to clipboard

Where this item's text renders; see TextPlacement.

Link copied to clipboard

Title shown bottom-left, bold (falls back to the media item's title).