All files / atom/videoPlayer/src/settings index.js

100% Statements 14/14
50% Branches 1/2
100% Functions 1/1
100% Lines 13/13

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 221x 1x 1x 1x 1x 1x 1x         1x 1x 1x         10x 1x 1x  
export const BASE_CLASS = 'sui-AtomVideoPlayer'
export const UNKNOWN = 'unknown'
export const HLS_DEFAULT_TITLE = 'HLS video player'
export const NATIVE_DEFAULT_TITLE = 'Native video player'
export const VIMEO_DEFAULT_TITLE = 'VIMEO video player'
export const YOUTUBE_DEFAULT_TITLE = 'YouTube video player'
export const AUTOPLAY = {
  TRUE: true,
  FALSE: false,
  ON_VIEWPORT: 'ON_VIEWPORT'
}
export const AUTOPLAY_OPTIONS = Object.keys(AUTOPLAY)
export const AUTOPLAY_DEFAULT_VALUE = AUTOPLAY.FALSE
export const INTERSECTION_OBSERVER_DEFAULT_CONFIGURATION = {
  root: null,
  rootMargin: '0% 0% -25% 0%',
  threshold: 1
}
export const NO_OP = () => null
export const IS_NODE = typeof window === 'undefined'
export const BLOB_TYPE = IS_NODE ? null : Blob