@realsee/vreo 0.2.0-alpha.11 → 0.2.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +2 -2
  2. package/docs/assets/search.js +1 -1
  3. package/docs/classes/Player.AudioLike.html +52 -0
  4. package/docs/classes/Player.Controller.html +3 -3
  5. package/docs/classes/Player.Player-1.html +3 -3
  6. package/docs/classes/Player.VideoAgentMesh.html +12 -12
  7. package/docs/classes/Player.VideoAgentScene.html +1 -1
  8. package/docs/demo/assets/AppReact.5d77c4d8.js +1 -0
  9. package/docs/demo/assets/default.3cf9974e.js +64 -0
  10. package/docs/demo/assets/default.70243c83.css +1 -0
  11. package/docs/demo/assets/dynamic.ee28990e.js +1 -0
  12. package/docs/demo/assets/examples.294e0a10.js +25 -0
  13. package/docs/demo/assets/examples.dac4a6fe.css +1 -0
  14. package/docs/demo/assets/index.a7bafdff.css +1 -0
  15. package/docs/demo/assets/index.c55a0972.js +1 -0
  16. package/docs/demo/assets/main.8fadf245.js +1 -0
  17. package/docs/demo/assets/react.aa3cf7f7.css +1 -0
  18. package/docs/demo/assets/react.ed4b53f9.js +25 -0
  19. package/docs/demo/assets/vendor.5714cf27.js +3903 -0
  20. package/docs/demo/assets/znRoyv06SZQeqA7m.0057e8ae.js +1 -0
  21. package/docs/demo/examples.html +18 -0
  22. package/docs/demo/index-react-dynamic.html +21 -0
  23. package/docs/demo/index-react.html +21 -0
  24. package/docs/demo/index.html +20 -0
  25. package/docs/enums/Player.InfoPanelStyleEnum.html +1 -1
  26. package/docs/enums/Player.InfoPanelTypeEnum.html +1 -1
  27. package/docs/enums/Player.PanoEffectEnum.html +1 -1
  28. package/docs/enums/Player.PanoTagEnum.html +1 -1
  29. package/docs/enums/Player.PanoTagStyleEnum.html +7 -0
  30. package/docs/enums/Player.VreoKeyframeEnum.html +12 -12
  31. package/docs/enums/fivePlugins.CameraMovementEffect.html +1 -1
  32. package/docs/enums/fivePlugins.Rotation.html +1 -1
  33. package/docs/index.html +2 -2
  34. package/docs/interfaces/Player.CustomVreoKeyframeProps.html +1 -1
  35. package/docs/interfaces/Player.PlayerConfigs.html +2 -2
  36. package/docs/interfaces/Player.Vertex.html +1 -1
  37. package/docs/interfaces/Player.VideoAgentMeshOptions.html +1 -1
  38. package/docs/interfaces/Player.VreoKeyframe.html +1 -1
  39. package/docs/interfaces/Player.VreoUnit.html +1 -1
  40. package/docs/interfaces/Player.VreoVideo.html +1 -1
  41. package/docs/interfaces/fivePlugins.CSS3DRenderPluginExportType.html +4 -0
  42. package/docs/interfaces/fivePlugins.CameraMovementOptsCallback.html +1 -1
  43. package/docs/interfaces/fivePlugins.CameraMovementPluginExportType.html +2 -2
  44. package/docs/interfaces/fivePlugins.ModelTVVideoPluginData.html +1 -1
  45. package/docs/interfaces/fivePlugins.ModelTVVideoPluginExportType.html +1 -1
  46. package/docs/interfaces/fivePlugins.ModelTVVideoPluginParameterType.html +1 -1
  47. package/docs/interfaces/fivePlugins.Vector3Position.html +3 -0
  48. package/docs/interfaces/react.VreoActionCallbacks.html +6 -6
  49. package/docs/interfaces/react.VreoProviderProps.html +1 -1
  50. package/docs/modules/Player.html +18 -14
  51. package/docs/modules/custom.html +1 -1
  52. package/docs/modules/fivePlugins.html +5 -2
  53. package/docs/modules/react.html +1 -1
  54. package/lib/Player/Controller.d.ts +1 -1
  55. package/lib/Player/index.d.ts +1 -1
  56. package/lib/Player/index.js +15 -15
  57. package/lib/Player/modules/VideoAgent/VideoAgentMesh.d.ts +4 -2
  58. package/lib/Player/modules/VideoAgent/VideoAgentMesh.js +71 -23
  59. package/lib/Player/modules/VideoAgent/VideoAgentScene.js +2 -1
  60. package/lib/Player/modules/keyframes/PanoTag/index.js +19 -6
  61. package/lib/Player/modules/keyframes/PanoTextLabel/index.d.ts +3 -0
  62. package/lib/Player/modules/keyframes/PanoTextLabel/index.js +96 -43
  63. package/lib/fivePlugins/CSS3DRenderPlugin/centerPoint.d.ts +2 -0
  64. package/lib/fivePlugins/CSS3DRenderPlugin/centerPoint.js +12 -0
  65. package/lib/fivePlugins/CSS3DRenderPlugin/createResizeObserver.d.ts +7 -0
  66. package/lib/fivePlugins/CSS3DRenderPlugin/createResizeObserver.js +32 -0
  67. package/lib/fivePlugins/CSS3DRenderPlugin/evenNumber.d.ts +3 -0
  68. package/lib/fivePlugins/CSS3DRenderPlugin/evenNumber.js +11 -0
  69. package/lib/fivePlugins/CSS3DRenderPlugin/index.d.ts +56 -0
  70. package/lib/fivePlugins/CSS3DRenderPlugin/index.js +275 -0
  71. package/lib/fivePlugins/CSS3DRenderPlugin/transformPositionToVector3.d.ts +7 -0
  72. package/lib/fivePlugins/CSS3DRenderPlugin/transformPositionToVector3.js +18 -0
  73. package/lib/react/index.d.ts +2 -2
  74. package/lib/react/index.js +2 -2
  75. package/lib/shared-utils/AduioLike.d.ts +37 -0
  76. package/lib/shared-utils/AduioLike.js +165 -0
  77. package/lib/typings/VreoUnit.d.ts +25 -0
  78. package/lib/typings/VreoUnit.js +13 -1
  79. package/package.json +4 -4
  80. package/resources/Player/Controller.ts +2 -0
  81. package/resources/Player/index.tsx +42 -28
  82. package/resources/Player/modules/VideoAgent/VideoAgentMesh.ts +39 -9
  83. package/resources/Player/modules/VideoAgent/VideoAgentScene.ts +2 -0
  84. package/resources/Player/modules/keyframes/PanoTag/index.tsx +31 -12
  85. package/resources/Player/modules/keyframes/PanoTextLabel/index.tsx +87 -34
  86. package/resources/fivePlugins/CSS3DRenderPlugin/centerPoint.ts +5 -0
  87. package/resources/fivePlugins/CSS3DRenderPlugin/createResizeObserver.ts +17 -0
  88. package/resources/fivePlugins/CSS3DRenderPlugin/evenNumber.ts +4 -0
  89. package/resources/fivePlugins/CSS3DRenderPlugin/index.ts +254 -0
  90. package/resources/fivePlugins/CSS3DRenderPlugin/transformPositionToVector3.ts +5 -0
  91. package/resources/react/index.tsx +2 -2
  92. package/resources/shared-utils/AduioLike.ts +108 -0
  93. package/resources/typings/VreoUnit.ts +28 -1
  94. package/stylesheets/default.css +30 -5
package/README.md CHANGED
@@ -126,7 +126,7 @@ ReactDOM.render(<App></App>, document.getElementById('app'))
126
126
  "duration": 106278,
127
127
  "start": 0,
128
128
  "end": 106278,
129
- "url": "//url-host/***/xxx.mp4"
129
+ "url": "//url-host/***/xxx.mp4" // "url" 如果是空字符串,则以 `AudioLike` 的逻辑进行执行。
130
130
  },
131
131
  "keyframes": [
132
132
  {
@@ -551,4 +551,4 @@ vreoplayer.load(vreoUnit, 0, true)
551
551
 
552
552
  ## API 文档
553
553
 
554
- 详细的 API 文档请参考:[Vreo API](https://realsee-developer.github.io/vreo/index.html) 。
554
+ 详细的 API 文档请参考:[Vreo API](https://realsee.js.org/vreo/index.html) 。