mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-02 20:18:35 +00:00
27 lines
617 B
TypeScript
27 lines
617 B
TypeScript
export const HYPERFRAME_RUNTIME_GLOBALS = {
|
|
player: "__player",
|
|
playerReady: "__playerReady",
|
|
renderReady: "__renderReady",
|
|
timelines: "__timelines",
|
|
clipManifest: "__clipManifest",
|
|
} as const;
|
|
|
|
export const HYPERFRAME_BRIDGE_SOURCES = {
|
|
parent: "hf-parent",
|
|
preview: "hf-preview",
|
|
} as const;
|
|
|
|
export const HYPERFRAME_CONTROL_ACTIONS = [
|
|
"play",
|
|
"pause",
|
|
"seek",
|
|
"set-muted",
|
|
"set-playback-rate",
|
|
"set-color-grading",
|
|
"set-color-grading-compare",
|
|
"enable-pick-mode",
|
|
"disable-pick-mode",
|
|
] as const;
|
|
|
|
export type HyperframeControlAction = (typeof HYPERFRAME_CONTROL_ACTIONS)[number];
|