Files
VideoPlayer/src/types/PlaybackState.ts
db123 7e21808d69 chore(types): scattered the type interfaces
scattered type interfaces wih goal of scalability and easier debug and coding
2026-04-28 01:16:02 +03:30

15 lines
241 B
TypeScript

/**
* player state type interface
*
* author: db123 at db
* creation: 28/4/2026
*/
export interface PlayerEvents {
onPlay?: () => void;
onPause?: () => void;
onEnd?: () => void;
onError?: () => void;
onBuffer?: () => void;
}