1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/apps/stable/features/playback/constants/playerEvent.ts

25 lines
754 B
TypeScript
Raw Normal View History

2024-10-01 13:41:40 -04:00
/**
* Events triggered by media player plugins.
2024-10-01 16:00:48 -04:00
* TODO: This list is incomplete
2024-10-01 13:41:40 -04:00
*/
export enum PlayerEvent {
Error = 'error',
FullscreenChange = 'fullscreenchange',
ItemStarted = 'itemstarted',
ItemStopped = 'itemstopped',
MediaStreamsChange = 'mediastreamschange',
Pause = 'pause',
PlaybackStart = 'playbackstart',
PlaybackStop = 'playbackstop',
PlaylistItemAdd = 'playlistitemadd',
PlaylistItemMove = 'playlistitemmove',
PlaylistItemRemove = 'playlistitemremove',
2024-10-19 20:08:27 +03:00
PromptSkip = 'promptskip',
2024-10-01 13:41:40 -04:00
RepeatModeChange = 'repeatmodechange',
ShuffleModeChange = 'shufflequeuemodechange',
Stopped = 'stopped',
TimeUpdate = 'timeupdate',
Unpause = 'unpause',
VolumeChange = 'volumechange'
}