nsplayer
Version:
NSPlayer, a player which supports quality list of dash and hls
4 lines (3 loc) • 365 B
TypeScript
import { Source } from './types';
import { SourceWithMimeType, ICorePlayer } from './coreplayer';
export default function createCorePlayer(source: SourceWithMimeType, video: HTMLVideoElement, sources?: Source[], fastSwitch?: boolean, capLevelToPlayerSize?: boolean, callback?: (corePlayer: ICorePlayer) => ICorePlayer | Promise<ICorePlayer>): Promise<ICorePlayer>;