settingConfig.js 481 B

12345678910111213141516171819202122
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. // 设置面板属性的显隐
  4. displayOption: {
  5. dataAllocation: {
  6. // 是否存在数据配置
  7. enable: false
  8. }
  9. }
  10. }
  11. const customConfig = {
  12. type: 'video',
  13. customize: {
  14. videoType: 'application/x-mpegURL',
  15. videoUrl: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
  16. posterUrl: ''
  17. }
  18. }
  19. export const dataConfig = {
  20. ...commonConfig(customConfig)
  21. }