@byteplus/veplayer-plugin 2.3.0-rc.0

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 (59) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +22 -0
  3. package/esm/flv.d.ts +3 -0
  4. package/esm/hls.d.ts +3 -0
  5. package/esm/index.d.ts +8 -0
  6. package/esm/index.development.css +63 -0
  7. package/esm/index.development.js +92379 -0
  8. package/esm/index.production.css +1 -0
  9. package/esm/index.production.js +26 -0
  10. package/esm/mp4.d.ts +3 -0
  11. package/esm/rtm.d.ts +3 -0
  12. package/esm/shaka.d.ts +3 -0
  13. package/esm/veplayer.plugin.drm.development.js +1577 -0
  14. package/esm/veplayer.plugin.drm.production.js +2 -0
  15. package/esm/veplayer.plugin.flv.development.js +11097 -0
  16. package/esm/veplayer.plugin.flv.production.js +2 -0
  17. package/esm/veplayer.plugin.hls.development.js +14461 -0
  18. package/esm/veplayer.plugin.hls.production.js +2 -0
  19. package/esm/veplayer.plugin.mp4.development.js +38039 -0
  20. package/esm/veplayer.plugin.mp4.production.js +2 -0
  21. package/esm/veplayer.plugin.rtm.development.js +5587 -0
  22. package/esm/veplayer.plugin.rtm.production.js +2 -0
  23. package/esm/veplayer.plugin.shaka.development.js +15973 -0
  24. package/esm/veplayer.plugin.shaka.production.js +20 -0
  25. package/esm/veplayer.plugin.time.shift.development.css +63 -0
  26. package/esm/veplayer.plugin.time.shift.development.js +339 -0
  27. package/esm/veplayer.plugin.time.shift.production.css +1 -0
  28. package/esm/veplayer.plugin.time.shift.production.js +2 -0
  29. package/esm/veplayer.plugin.xgvideo.development.js +19097 -0
  30. package/esm/veplayer.plugin.xgvideo.production.js +2 -0
  31. package/esm/xgvideo.d.ts +3 -0
  32. package/package.json +161 -0
  33. package/umd/flv.d.ts +3 -0
  34. package/umd/hls.d.ts +3 -0
  35. package/umd/index.d.ts +8 -0
  36. package/umd/index.development.js +92050 -0
  37. package/umd/index.production.js +1 -0
  38. package/umd/mp4.d.ts +3 -0
  39. package/umd/rtm.d.ts +3 -0
  40. package/umd/shaka.d.ts +3 -0
  41. package/umd/veplayer.plugin.drm.development.js +1579 -0
  42. package/umd/veplayer.plugin.drm.production.js +1 -0
  43. package/umd/veplayer.plugin.flv.development.js +11102 -0
  44. package/umd/veplayer.plugin.flv.production.js +1 -0
  45. package/umd/veplayer.plugin.hls.development.js +14463 -0
  46. package/umd/veplayer.plugin.hls.production.js +1 -0
  47. package/umd/veplayer.plugin.mp4.development.js +38043 -0
  48. package/umd/veplayer.plugin.mp4.production.js +1 -0
  49. package/umd/veplayer.plugin.rtm.development.js +5589 -0
  50. package/umd/veplayer.plugin.rtm.production.js +1 -0
  51. package/umd/veplayer.plugin.shaka.development.js +15977 -0
  52. package/umd/veplayer.plugin.shaka.production.js +1 -0
  53. package/umd/veplayer.plugin.time.shift.development.css +63 -0
  54. package/umd/veplayer.plugin.time.shift.development.js +342 -0
  55. package/umd/veplayer.plugin.time.shift.production.css +1 -0
  56. package/umd/veplayer.plugin.time.shift.production.js +1 -0
  57. package/umd/veplayer.plugin.xgvideo.development.js +19099 -0
  58. package/umd/veplayer.plugin.xgvideo.production.js +1 -0
  59. package/umd/xgvideo.d.ts +3 -0
package/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ ## [@byteplus/veplayer-plugin] License
2
+
3
+ Copyright 2024 BytePlus Pte Ltd. All Rights Reserved.
4
+
5
+ The @byteplus/veplayer-plugin was developed by BytePlus Pte Ltd. (hereinafter
6
+ “BytePlus”). Any copyright or patent right is owned by and proprietary material of the
7
+ BytePlus.
8
+
9
+ @byteplus/veplayer-plugin is available under the @byteplus/veplayer-plugin and licensed under the
10
+ commercial license. Customers can contact contact@byteplus.com for commercial licensing
11
+ options. Here is also a link to subscription services agreement:
12
+ https://www.byteplus.com/en/product/medialive.
13
+
14
+ Without BytePlus's prior written permission, any use of @byteplus/veplayer-plugin, in particular
15
+ any use for commercial purposes, is prohibited. This includes, without limitation, incorporation in a commercial product, use in a commercial service.
16
+
17
+ Without BytePlus's prior written permission, the @byteplus/veplayer-plugin may not be
18
+ reproduced, modified and/or made available in any form to any third party.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @byted/veplayer-plugin
2
+
3
+ ## 简介
4
+ `@volcengine/veplayer-plugin` 是基于 VepPlayer 的插件集合,为 VePlayer 提供更多扩展能力和解决方案。
5
+
6
+ 视频云播放器(VePlayer)是一款 Web 端的点直播播放 SDK,结合火山引擎点直播服务,为您提供流畅、稳定、高品质的点直播解决方案,支持便捷接入、跨端兼容。帮助您一站式快速搭建自己的点直播播放器。
7
+
8
+ ## 安装
9
+ ```node
10
+ npm install @volcengine/veplayer-plugin
11
+ ```
12
+
13
+ ## 直播相关 API 文档
14
+ [接入指引](https://www.volcengine.com/docs/6469/127528) <br>
15
+ [功能接入](https://www.volcengine.com/docs/6469/138655)<br>
16
+ [配置](https://www.volcengine.com/docs/6469/1155423)<br>
17
+ [方法及属性](https://www.volcengine.com/docs/6469/1156178)<br>
18
+ [事件](https://www.volcengine.com/docs/6469/1158676)<br>
19
+ [错误码](https://www.volcengine.com/docs/6469/1158675)
20
+
21
+
22
+
package/esm/flv.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const plugin: any;
2
+
3
+ export default plugin;
package/esm/hls.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const plugin: any;
2
+
3
+ export default plugin;
package/esm/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ export const flv: any;
2
+ export const mp4: any;
3
+ export const hls: any;
4
+ export const rtm: any;
5
+ export const shaka: any;
6
+ export const xgvideo: any;
7
+ export const timeShift: any;
8
+ export const drm: any;
@@ -0,0 +1,63 @@
1
+ .xgplayer-shift .xgplayer-shift-progress-point {
2
+ position: absolute;
3
+ top: -30px;
4
+ display: none;
5
+ width: 60px;
6
+ padding: 6px 0;
7
+ color: #fff;
8
+ font-size: 12px;
9
+ line-height: 18px;
10
+ text-align: center;
11
+ background: rgba(0, 0, 0, 0.6);
12
+ border-radius: 2px;
13
+ transform: translateX(-50%);
14
+ }
15
+ .xgplayer-shift.active .xgplayer-shift-progress-point {
16
+ display: block;
17
+ }
18
+ .xgplayer-shift.xgplayer-progress .xgplayer-progress-outer {
19
+ transition: unset;
20
+ }
21
+ .xgplayer-shift.xgplayer-progress .xgplayer-progress-btn {
22
+ width: 16px;
23
+ height: 16px;
24
+ background: #346aff41;
25
+ box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.096);
26
+ }
27
+ .xgplayer-shift.xgplayer-progress .xgplayer-progress-played {
28
+ background: #3469ff;
29
+ }
30
+ .xgplayer-back-live-bt {
31
+ position: absolute;
32
+ bottom: 60px;
33
+ left: 20px;
34
+ display: none;
35
+ align-items: center;
36
+ justify-content: center;
37
+ width: 96px;
38
+ height: 32px;
39
+ color: #fff;
40
+ font-size: 13px;
41
+ background: rgba(0, 0, 0, 0.4);
42
+ border: 1px solid rgba(255, 255, 255, 0.8);
43
+ border-radius: 16px;
44
+ cursor: pointer;
45
+ }
46
+ .xgplayer-back-live-bt:hover {
47
+ background: rgba(0, 0, 0, 0.6);
48
+ }
49
+ .xgplayer-inactive .xgplayer-back-live-bt {
50
+ display: none;
51
+ }
52
+ .xgplayer-mobile .xgplayer-shift {
53
+ margin: 0 8px;
54
+ }
55
+ .xgplayer-mobile .xgplayer-shift .xgplayer-shift-progress-point {
56
+ display: none;
57
+ }
58
+ .xgplayer-mobile .xgplayer-back-live-bt {
59
+ bottom: 40px;
60
+ width: 86px;
61
+ height: 25px;
62
+ font-size: 12px;
63
+ }