@volcengine/veplayer 2.9.0-rc.0 → 2.9.0-rc.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/veplayer",
3
- "version": "2.9.0-rc.0",
3
+ "version": "2.9.0-rc.1",
4
4
  "main": "./umd/veplayer.production.js",
5
5
  "module": "./esm/veplayer.production.js",
6
6
  "browser": "./umd/veplayer.production.js",
@@ -26431,12 +26431,8 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
26431
26431
  return Number.POSITIVE_INFINITY;
26432
26432
  })();
26433
26433
  const event = window["VePlayer"].event;
26434
- const HLS_EVENTS = Object.entries(Events$1).reduce(
26435
- (pre, [eventKey, eventName]) => {
26436
- pre[`HLS_${eventKey}`] = eventName;
26437
- return pre;
26438
- },
26439
- {}
26434
+ const HLS_EVENTS = Object.fromEntries(
26435
+ Object.entries(Events$1).map(([key, value]) => [`HLS_${key}`, value])
26440
26436
  );
26441
26437
  const Events = {
26442
26438
  ...event.Events,