@moviie/player-types
v1.8.0
Published
Single source of truth for the public Moviie Player API contract — events, methods, properties, message types, and human-readable reference metadata for documentation generation.
Maintainers
Readme
@moviie/player-types
Shared TypeScript types and constants for the Moviie player ecosystem. This is the single source of truth for the public Moviie Player API contract: events, methods, properties, and message types.
This package is a transitive dependency of @moviie/player-sdk and @moviie/player-expo. You usually don't need to install it directly.
Install
pnpm add @moviie/player-typesUsage
import { PLAYER_API_EVENTS, type PlayerApiEvent } from "@moviie/player-types"
const listener = (event: PlayerApiEvent) => {
if (event.type === PLAYER_API_EVENTS.READY) {
// ...
}
}See the full documentation at docs.moviie.ai/player-expo.
