@uploadcare/uc-video
Version:
Uploadcare's UCVideo solution for adaptive bitrate streaming
19 lines (18 loc) • 558 B
TypeScript
import { VideoPlayerWithPlugins } from '../../configuration';
declare const Plugin: Function | typeof import('video.js/dist/types/plugin').default | undefined;
type Player = VideoPlayerWithPlugins & {
uuid: (value: string) => void;
};
export declare class UUIDSource extends Plugin {
private player;
private uuid;
private cdnCname;
constructor(player: Player, options: {
uuid: string;
cdnCname: string;
});
setUuid(uuid: string): void;
updateSource(): void;
getVideoUrl(uuid: string): string;
}
export {};