UNPKG

@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

32 lines (29 loc) 743 B
import VueTypes from "vue-types"; /** * @type {SoundcloudConfig} */ export const soundcloudConfigPropsDefaults = { options: { visual: true, // Undocumented, but makes player fill container and look better buying: false, liking: false, download: false, sharing: false, show_comments: false, show_playcount: false } }; /** * @type {import("vue-types").VueTypeShape<SoundcloudConfig>} */ export const soundcloudConfigProps = VueTypes.shape({ options: VueTypes.shape({ visual: VueTypes.bool, buying: VueTypes.bool, liking: VueTypes.bool, download: VueTypes.bool, sharing: VueTypes.bool, show_comments: VueTypes.bool, show_playcount: VueTypes.bool, }).loose, }).loose.def(() => soundcloudConfigPropsDefaults);