2021-03-03 16:37:38 +02:00
|
|
|
/**
|
|
|
|
|
* Fixed name of the video player fake participant.
|
2021-11-04 22:10:43 +01:00
|
|
|
*
|
2021-03-03 16:37:38 +02:00
|
|
|
* @type {string}
|
|
|
|
|
*/
|
2021-04-16 12:43:34 +03:00
|
|
|
export const VIDEO_PLAYER_PARTICIPANT_NAME = 'Video';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Fixed name of the youtube player fake participant.
|
2021-11-04 22:10:43 +01:00
|
|
|
*
|
2021-04-16 12:43:34 +03:00
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const YOUTUBE_PLAYER_PARTICIPANT_NAME = 'YouTube';
|
|
|
|
|
|
2021-03-03 16:37:38 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Shared video command.
|
2021-11-04 22:10:43 +01:00
|
|
|
*
|
2021-03-03 16:37:38 +02:00
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const SHARED_VIDEO = 'shared-video';
|
2021-08-02 15:55:52 +03:00
|
|
|
|
|
|
|
|
/**
|
2021-11-04 22:10:43 +01:00
|
|
|
* Available playback statuses.
|
2021-08-02 15:55:52 +03:00
|
|
|
*/
|
|
|
|
|
export const PLAYBACK_STATUSES = {
|
|
|
|
|
PLAYING: 'playing',
|
|
|
|
|
PAUSED: 'pause',
|
|
|
|
|
STOPPED: 'stop'
|
|
|
|
|
};
|
2024-08-12 17:40:11 -05:00
|
|
|
|
2024-08-27 10:45:39 -05:00
|
|
|
/**
|
|
|
|
|
* Playback start state.
|
|
|
|
|
*/
|
|
|
|
|
export const PLAYBACK_START = 'start';
|
|
|
|
|
|
2024-08-12 17:40:11 -05:00
|
|
|
/**
|
|
|
|
|
* The domain for youtube URLs.
|
|
|
|
|
*/
|
|
|
|
|
export const YOUTUBE_URL_DOMAIN = 'youtube.com';
|
|
|
|
|
|
|
|
|
|
/**
|
2024-08-26 14:49:34 -05:00
|
|
|
* The constant to allow URL domains.
|
2024-08-12 17:40:11 -05:00
|
|
|
*/
|
2024-08-26 14:49:34 -05:00
|
|
|
export const ALLOW_ALL_URL_DOMAINS = '*';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The default white listed domains for shared video.
|
|
|
|
|
*/
|
|
|
|
|
export const DEFAULT_ALLOWED_URL_DOMAINS = [ YOUTUBE_URL_DOMAIN ];
|