@veltdev/types
Version:
Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.
48 lines (47 loc) • 894 B
TypeScript
import { User } from "./user.data.model";
export declare class SyncVideoPlayer {
/**
* The id of the player
*/
playerId?: string;
src?: string;
sources?: string[];
/**
* Last updated timestamp
*/
lastUpdated?: number;
/**
* Last updated by user
*/
lastUpdatedBy?: User;
/**
* Last updated event
*/
lastUpdatedEvent?: string;
/**
* The state of the player
*/
playerState: SyncVideoPlayerState;
}
export declare class SyncVideoPlayerState {
/**
* True if the video is playing
*/
playing?: boolean;
/**
* Current time of the video
*/
currentTime?: number;
/**
* True if the video is muted
*/
muted?: boolean;
/**
* Volume of the video
*/
volume?: number;
/**
* Playback rate of the video
*/
speed?: number;
}