snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
50
react/features/shared-video/constants.ts
Normal file
50
react/features/shared-video/constants.ts
Normal file
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* Fixed name of the video player fake participant.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const VIDEO_PLAYER_PARTICIPANT_NAME = 'Video';
|
||||
|
||||
/**
|
||||
* Fixed name of the youtube player fake participant.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const YOUTUBE_PLAYER_PARTICIPANT_NAME = 'YouTube';
|
||||
|
||||
|
||||
/**
|
||||
* Shared video command.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const SHARED_VIDEO = 'shared-video';
|
||||
|
||||
/**
|
||||
* Available playback statuses.
|
||||
*/
|
||||
export const PLAYBACK_STATUSES = {
|
||||
PLAYING: 'playing',
|
||||
PAUSED: 'pause',
|
||||
STOPPED: 'stop'
|
||||
};
|
||||
|
||||
/**
|
||||
* Playback start state.
|
||||
*/
|
||||
export const PLAYBACK_START = 'start';
|
||||
|
||||
/**
|
||||
* The domain for youtube URLs.
|
||||
*/
|
||||
export const YOUTUBE_URL_DOMAIN = 'youtube.com';
|
||||
|
||||
/**
|
||||
* The constant to allow URL domains.
|
||||
*/
|
||||
export const ALLOW_ALL_URL_DOMAINS = '*';
|
||||
|
||||
/**
|
||||
* The default white listed domains for shared video.
|
||||
*/
|
||||
export const DEFAULT_ALLOWED_URL_DOMAINS = [ YOUTUBE_URL_DOMAIN ];
|
||||
Reference in New Issue
Block a user