@netless/slide 1.4.59-alpha.2 → 1.4.59-alpha.4
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/README.md +8 -0
- package/lib/Slide.d.ts +12 -0
- package/lib/Slide.js +14 -14
- package/package.json +2 -3
- package/lib/AliTrackLogger.js +0 -516
- package/lib/FrozenTaskManager.js +0 -59
- package/lib/Lock.js +0 -54
- package/lib/PlayerController.js +0 -175
- package/lib/RenderSlideVisibility.js +0 -16
- package/lib/RenderingTaskManager.js +0 -230
- package/lib/SyncTaskManager.js +0 -206
- package/lib/global.js +0 -118
package/README.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
## changelog
|
|
6
6
|
|
|
7
|
+
### 1.4.59-alpha.4 (2026-09-17)
|
|
8
|
+
* 增强 PPT 媒体自动播放恢复:为 Howler/HTML5 音频与视频增加播放确认 watchdog,覆盖浏览器静默失败未触发 `playerror` 的场景
|
|
9
|
+
* 修正 Howler `playerror` 在内部状态已变为 playing 但 DOM 仍 paused 时被误过滤的问题
|
|
10
|
+
|
|
11
|
+
### 1.4.59-alpha.0 (2026-09-11)
|
|
12
|
+
* 新增 `onPptMediaPermissionRequest(callback)` 接口,用于通知当前 PPT 音视频需要用户交互后才能播放
|
|
13
|
+
* 新增 `playPptMedia()` 接口,用于在用户点击事件中恢复当前仍处于播放状态、且本地被浏览器拦截的 PPT 音视频
|
|
14
|
+
|
|
7
15
|
### 1.4.58 (2026-09-07)
|
|
8
16
|
* 修复低版本 WebView 中纯色图形显示为黑块的问题
|
|
9
17
|
* 修复切页或销毁 Stage 后无限循环动画回调仍访问已释放 Pixi 对象导致的异常
|
package/lib/Slide.d.ts
CHANGED
|
@@ -467,6 +467,10 @@ export declare class Slide extends Slide_base {
|
|
|
467
467
|
private anchor;
|
|
468
468
|
private tracker;
|
|
469
469
|
private player?;
|
|
470
|
+
private pptMediaPermissionCallbacks;
|
|
471
|
+
private pptMediaPermissionNotified;
|
|
472
|
+
private pptMediaPermissionRenotifyPending;
|
|
473
|
+
private pendingPptMediaState?;
|
|
470
474
|
private playerGeneration;
|
|
471
475
|
private playerGenerations;
|
|
472
476
|
private playerSwapRenderTimeoutMs;
|
|
@@ -522,6 +526,14 @@ export declare class Slide extends Slide_base {
|
|
|
522
526
|
static handleLogDownload: () => Promise<void>;
|
|
523
527
|
private urlInterrupter;
|
|
524
528
|
private initPlayer;
|
|
529
|
+
private getPptMediaState;
|
|
530
|
+
private getPlayingMediaIds;
|
|
531
|
+
private hasPptMediaPermissionRequest;
|
|
532
|
+
private notifyPptMediaPermissionRequest;
|
|
533
|
+
private handlePptMediaPermissionRequest;
|
|
534
|
+
private handlePptMediaPermissionResolved;
|
|
535
|
+
onPptMediaPermissionRequest(callback: () => void): () => void;
|
|
536
|
+
playPptMedia(): void;
|
|
525
537
|
private userInputHandle;
|
|
526
538
|
private _handleViewClick;
|
|
527
539
|
private handleViewTouchStart;
|