@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
28 lines (25 loc) • 551 B
JavaScript
import VueTypes from "vue-types";
/**
* @type {VimeoConfig}
*/
export const vimeoConfigPropsDefaults = {
playerOptions: {
autopause: false,
byline: false,
portrait: false,
title: false
},
title: null
};
/**
* @type {import("vue-types").VueTypeShape<VimeoConfig>}
*/
export const vimeoConfigProps = VueTypes.shape({
playerOptions: VueTypes.shape({
autopause: VueTypes.bool,
byline: VueTypes.bool,
portrait: VueTypes.bool,
title: VueTypes.bool,
}).loose,
title: VueTypes.string,
}).loose.def(() => vimeoConfigPropsDefaults);