Skip to main content

Class: Player

Represents a Vindral player

// minimal configuration of a Vindral web player
const instance = new Player({
url: "https://lb.cdn.vindral.com",
channelId: "vindral_demo1_ci_099ee1fa-80f3-455e-aa23-3d184e93e04f",
})

Properties

castSender

Readonly castSender: CastSender

The CastSender instance


core

Readonly core: Vindral

The Vindral instance

Methods

attach

attach(container): void

Attaches the Player root node to a container

Parameters

NameType
containerHTMLElement

Returns

void


unload

unload(): void

Fully unloads the Player and the Vindral instance.

Returns

void