UNPKG

openplayerjs

Version:
27 lines (26 loc) 578 B
import Source from './source'; /** * Custom media * * @description An object that stores additional API/players for non-native media * @interface CustomMedia * @export */ export default interface CustomMedia { /** * Store all the native methods to play custom media */ media: { [key: string]: Source; }; /** * Store name of media to be used as key for configuration options */ optionsKey: { [key: string]: string; }; /** * Store callbacks to determine MIME type based on URL */ rules: any[]; }