settingConfig.js 719 B

1234567891011121314151617181920212223242526272829303132333435
  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. skewX: 0,
  24. skewY: 0
  25. },
  26. customize: {
  27. videoType: 'application/x-mpegURL',
  28. videoUrl: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
  29. posterUrl: ''
  30. }
  31. }
  32. export const dataConfig = {
  33. ...commonConfig(customConfig)
  34. }