settingConfig.js 691 B

123456789101112131415161718192021222324252627282930313233
  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. root: {
  14. version: '2023071001',
  15. // 绕x轴旋转角度
  16. rotateX: 0,
  17. // 绕y轴旋转角度
  18. rotateY: 0,
  19. // 绕z轴旋转角度
  20. rotateZ: 0,
  21. // 透视距离
  22. perspective: 0
  23. },
  24. customize: {
  25. videoType: 'application/x-mpegURL',
  26. videoUrl: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
  27. posterUrl: ''
  28. }
  29. }
  30. export const dataConfig = {
  31. ...commonConfig(customConfig)
  32. }