@uploadcare/uc-video
Version:
Uploadcare's UCVideo solution for adaptive bitrate streaming
147 lines (146 loc) • 3.75 kB
TypeScript
export declare const DEFAULT_CDN_CNAME = "https://ucarecdn.com";
export declare const DEFAULT_HLS_OPTIONS: {
html5: {
handlePartialData: boolean;
nativeVideoTracks: boolean;
nativeAudioTracks: boolean;
nativeTextTracks: boolean;
vhs: {
overrideNative: boolean;
};
};
};
export declare const defaultVideoAttributes: {
autoplay: false;
controls: true;
height: string;
width: string;
loop: false;
muted: false;
poster: null;
preload: "auto";
controlslist: "nodownload";
crossorigin: null;
disablepictureinpicture: false;
disableremoteplayback: false;
playsinline: false;
};
export declare const uploadcareConfiguration: {
uuid: null;
cdnCname: string;
showLogo: true;
posterOffset: string;
};
export declare const videojsOptions: {
audioOnlyMode: false;
audioPosterMode: false;
autoSetup: false;
breakpoints: null;
disablePictureInPicture: false;
enableDocumentPictureInPicture: false;
enableSmoothSeeking: false;
experimentalSvgIcons: false;
fluid: false;
id: string;
inactivityTimeout: number;
language: string;
liveui: false;
nativeControlsForTouch: false;
normalizeAutoplay: false;
notSupportedMessage: string;
noUITitleAttributes: false;
playbackRates: never[];
posterImage: true;
preferFullWindow: false;
responsive: false;
restoreEl: false;
suppressNotSupportedError: false;
techCanOverridePoster: false;
techOrder: string[];
sources: null;
fullscreen: {
options: {
navigationUI: string;
};
};
languages: undefined;
plugins: undefined;
skipButtons: undefined;
userActions: undefined;
spatialNavigation: {
enabled: false;
horizontalSeek: false;
};
html5: undefined;
};
export declare const initConfiguration: {
html5: {
handlePartialData: boolean;
nativeVideoTracks: boolean;
nativeAudioTracks: boolean;
nativeTextTracks: boolean;
vhs: {
overrideNative: boolean;
};
};
audioOnlyMode: false;
audioPosterMode: false;
autoSetup: false;
breakpoints: null;
disablePictureInPicture: false;
enableDocumentPictureInPicture: false;
enableSmoothSeeking: false;
experimentalSvgIcons: false;
fluid: false;
id: string;
inactivityTimeout: number;
language: string;
liveui: false;
nativeControlsForTouch: false;
normalizeAutoplay: false;
notSupportedMessage: string;
noUITitleAttributes: false;
playbackRates: never[];
posterImage: true;
preferFullWindow: false;
responsive: false;
restoreEl: false;
suppressNotSupportedError: false;
techCanOverridePoster: false;
techOrder: string[];
sources: null;
fullscreen: {
options: {
navigationUI: string;
};
};
languages: undefined;
plugins: undefined;
skipButtons: undefined;
userActions: undefined;
spatialNavigation: {
enabled: false;
horizontalSeek: false;
};
autoplay: false;
controls: true;
height: string;
width: string;
loop: false;
muted: false;
poster: null;
preload: "auto";
controlslist: "nodownload";
crossorigin: null;
disablepictureinpicture: false;
disableremoteplayback: false;
playsinline: false;
uuid: null;
cdnCname: string;
showLogo: true;
posterOffset: string;
};
export declare const allKeysConfiguration: string[];
export declare const keysAccessedOnlyThroughDOM: never[];
export declare const attrKeyMapping: any;
export declare const arrayAttrKeys: Set<unknown>;