@playkit-js/playkit-js-ui
Version:
[](https://github.com/kaltura/playkit-js-ui/actions/workflows/run_canary_full_flow.yaml) [ • 2.65 kB
text/typescript
const namespace = 'playkit-ui';
const EventType = {
UI_CLICKED: `${namespace}-uiclicked`,
UI_VISIBILITY_CHANGED: `${namespace}-uivisibilitychanged`,
GUI_RESIZE: `${namespace}-guiresize`,
PLAYER_RESIZE: `${namespace}-playerresize`,
VIDEO_RESIZE: `${namespace}-videoresize`,
UI_PRESET_CHANGE: `${namespace}-uipresetchange`,
USER_CLICKED_PLAY: `${namespace}-userclickedplay`,
USER_CLICKED_PAUSE: `${namespace}-userclickedpause`,
USER_CLICKED_REWIND: `${namespace}-userclickedrewind`,
USER_CLICKED_FORWARD: `${namespace}-userclickedforward`,
USER_CLICKED_LIVE_TAG: `${namespace}-userclickedlivetag`,
USER_CLICKED_LOGO: `${namespace}-userclickedlogo`,
USER_CLICKED_MUTE: `${namespace}-userclickedmute`,
USER_CLICKED_UNMUTE: `${namespace}-userclickedunmute`,
USER_CLICKED_ADVANCED_AUDIO_DESCRIPTION: `${namespace}-userclickedadvancedaudiodescription`,
USER_CHANGED_VOLUME: `${namespace}-userchangedvolume`,
USER_SELECTED_CAPTION_TRACK: `${namespace}-userselectedcaptiontrack`,
USER_SHOWED_CAPTIONS: `${namespace}-usershowedcaptions`,
USER_HID_CAPTIONS: `${namespace}-userhidcaptions`,
USER_SELECTED_AUDIO_TRACK: `${namespace}-userselectedaudiotrack`,
USER_SELECTED_QUALITY_TRACK: `${namespace}-userselectedqualitytrack`,
USER_ENTERED_FULL_SCREEN: `${namespace}-userenteredfullscreen`,
USER_EXITED_FULL_SCREEN: `${namespace}-userexitedfullscreen`,
USER_ENTERED_PICTURE_IN_PICTURE: `${namespace}-userenteredpictureinpicture`,
USER_EXITED_PICTURE_IN_PICTURE: `${namespace}-userexitedpictureinpicture`,
USER_SELECTED_CAPTIONS_STYLE: `${namespace}-userselectedcaptionsstyle`,
USER_SELECTED_SPEED: `${namespace}-userselectedspeed`,
USER_SEEKED: `${namespace}-userseeked`,
RESIZE: `${namespace}-resize`,
USER_SELECTED_CAPTIONS_SIZE: `${namespace}-userselectedcaptionssize`,
USER_SELECTED_CAPTIONS_ALIGNMENT: `${namespace}-userselectedcaptionsalignment`,
USER_SELECTED_CAPTIONS_FONT_COLOR: `${namespace}-userselectedcaptionsfontcolor`,
USER_SELECTED_CAPTIONS_FONT_FAMILY: `${namespace}-userselectedcaptionsfontfamily`,
USER_SELECTED_CAPTIONS_FONT_STYLE: `${namespace}-userselectedcaptionsfontstyle`,
USER_SELECTED_CAPTIONS_FONT_OPACITY: `${namespace}-userselectedcaptionsfontopacity`,
USER_SELECTED_CAPTIONS_BACKGROUND_COLOR: `${namespace}-userselectedcaptionsbackgroundcolor`,
USER_SELECTED_CAPTIONS_BACKGROUND_OPACITY: `${namespace}-userselectedcaptionsbackgroundopacity`,
BOTTOM_BAR_CLIENT_RECT_CHANGED: `${namespace}-bottombarclientrectchanged`,
PLAYER_HOVERED: `${namespace}-playerhovered`,
USER_COPIED_DEBUG_INFO: `${namespace}-usercopieddebuginfo`
} as const;
export {EventType};