@byteplus/veplayer 1.15.3-rc.3 → 1.15.3-rc.31

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 (46) hide show
  1. package/README.md +13 -0
  2. package/index.d.ts +1144 -311
  3. package/index.min.css +1 -1
  4. package/index.min.js +2 -2
  5. package/lite.cjs +2 -0
  6. package/lite.cjs.css +1 -0
  7. package/lite.d.ts +366 -0
  8. package/lite.esm.css +1 -0
  9. package/lite.esm.mjs +2 -0
  10. package/lite.min.css +1 -0
  11. package/lite.min.js +2 -0
  12. package/package.json +25 -1
  13. package/plugin/XGVideo.js +2 -1
  14. package/plugin/modules/DashAbralgo.d.ts +2 -0
  15. package/plugin/modules/DashAbralgo.mjs +2 -0
  16. package/plugin/modules/XGVideo.d.ts +2 -0
  17. package/plugin/modules/XGVideo.mjs +2 -0
  18. package/plugin/modules/danmuMask.d.ts +2 -0
  19. package/plugin/modules/danmuMask.mjs +2 -0
  20. package/plugin/modules/danmujs.d.ts +2 -0
  21. package/plugin/modules/danmujs.mjs +3 -0
  22. package/plugin/modules/dash.d.ts +2 -0
  23. package/plugin/modules/dash.mjs +2 -0
  24. package/plugin/modules/flv.d.ts +2 -0
  25. package/plugin/modules/flv.mjs +2 -0
  26. package/plugin/modules/hls.d.ts +2 -0
  27. package/plugin/modules/hls.mjs +2 -0
  28. package/plugin/modules/hlsEncrypt.d.ts +2 -0
  29. package/plugin/modules/hlsEncrypt.mjs +2 -0
  30. package/plugin/modules/mp4Encrypt.d.ts +2 -0
  31. package/plugin/modules/mp4Encrypt.mjs +2 -0
  32. package/plugin/modules/preloader.d.ts +2 -0
  33. package/plugin/modules/preloader.mjs +2 -0
  34. package/plugin/modules/streamprobe.d.ts +2 -0
  35. package/plugin/modules/streamprobe.mjs +2 -0
  36. package/plugin/modules/vestrategy.d.ts +2 -0
  37. package/plugin/modules/vestrategy.mjs +2 -0
  38. package/plugin/modules/vestrategy_adapt_range.d.ts +2 -0
  39. package/plugin/modules/vestrategy_adapt_range.mjs +2 -0
  40. package/plugin/modules/vestrategy_h265.d.ts +2 -0
  41. package/plugin/modules/vestrategy_h265.mjs +2 -0
  42. package/plugin/modules/vestrategy_preload.d.ts +2 -0
  43. package/plugin/modules/vestrategy_preload.mjs +2 -0
  44. package/plugin/mp4Encrypt.js +2 -2
  45. package/plugin/vestrategy.js +1 -1
  46. package/plugin/vestrategy_preload.js +1 -1
package/README.md CHANGED
@@ -13,6 +13,19 @@ import VePlayer from '@byteplus/veplayer';
13
13
  import '@byteplus/veplayer/index.min.css';
14
14
  ```
15
15
 
16
+ ### Lite build
17
+
18
+ The Lite build is intended for Video On Demand (VOD)-only use cases and is available from the package subpath.
19
+
20
+ ```javascript
21
+ import VePlayer from '@byteplus/veplayer/lite';
22
+ import '@byteplus/veplayer/lite.css';
23
+ ```
24
+
25
+ Lite supports VOD only; live streaming, danmu, music, ads, and the RTM plugin are unavailable. Configuring or enabling any of them is explicitly rejected with a startup error; use the full `@byteplus/veplayer` build instead.
26
+
27
+ Lite targets modern browsers and does not support IE11 or legacy polyfills. The full build retains its existing compatibility strategy.
28
+
16
29
  ### Add playback container
17
30
  Add a player container on the page where the player needs to be displayed, for example, add the following code to index.html.
18
31
  ```javascript