@voltra/vue-player
Version:
A Vue port of react-player: components for playing a variety of URLs including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, DailyMotion
18 lines (15 loc) • 362 B
JavaScript
import VueTypes from "vue-types";
/**
* @type {TwitchConfig}
*/
export const twitchConfigPropsDefaults = {
options: {},
playerId: null
};
/**
* @type {import("vue-types").VueTypeShape<TwitchConfig>}
*/
export const twitchConfigProps = VueTypes.shape({
options: VueTypes.object,
playerId: VueTypes.string,
}).loose.def(() => twitchConfigPropsDefaults);