@netless/slide 1.4.59-alpha.0 → 1.4.59-alpha.2
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 +0 -4
- package/lib/Slide.d.ts +10 -11
- package/lib/Slide.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## changelog
|
|
6
6
|
|
|
7
|
-
### 1.4.59-alpha.0 (2026-09-11)
|
|
8
|
-
* 新增 `onPptMediaPermissionRequest(callback)` 接口,用于通知当前 PPT 音视频需要用户交互后才能播放
|
|
9
|
-
* 新增 `playPptMedia()` 接口,用于在用户点击事件中恢复当前仍处于播放状态、且本地被浏览器拦截的 PPT 音视频
|
|
10
|
-
|
|
11
7
|
### 1.4.58 (2026-09-07)
|
|
12
8
|
* 修复低版本 WebView 中纯色图形显示为黑块的问题
|
|
13
9
|
* 修复切页或销毁 Stage 后无限循环动画回调仍访问已释放 Pixi 对象导致的异常
|
package/lib/Slide.d.ts
CHANGED
|
@@ -462,13 +462,14 @@ export declare class Slide extends Slide_base {
|
|
|
462
462
|
private isLoading;
|
|
463
463
|
private isReleasing;
|
|
464
464
|
private interactive;
|
|
465
|
+
private canRetryWithoutPlayer;
|
|
465
466
|
private syncCatchUpInputBlocked;
|
|
466
467
|
private anchor;
|
|
467
468
|
private tracker;
|
|
468
469
|
private player?;
|
|
469
|
-
private
|
|
470
|
-
private
|
|
471
|
-
private
|
|
470
|
+
private playerGeneration;
|
|
471
|
+
private playerGenerations;
|
|
472
|
+
private playerSwapRenderTimeoutMs;
|
|
472
473
|
private renderingIndex;
|
|
473
474
|
private frameWidth;
|
|
474
475
|
private frameHeight;
|
|
@@ -509,6 +510,8 @@ export declare class Slide extends Slide_base {
|
|
|
509
510
|
private handleSyncQueueCompactRenderComplete;
|
|
510
511
|
private handleSyncQueueCatchUpStateChange;
|
|
511
512
|
private updatePlayerInteractive;
|
|
513
|
+
private flipDebugState;
|
|
514
|
+
private logSlideFlip;
|
|
512
515
|
private observeRenderTask;
|
|
513
516
|
private recoverHandler;
|
|
514
517
|
private reportError;
|
|
@@ -519,14 +522,6 @@ export declare class Slide extends Slide_base {
|
|
|
519
522
|
static handleLogDownload: () => Promise<void>;
|
|
520
523
|
private urlInterrupter;
|
|
521
524
|
private initPlayer;
|
|
522
|
-
private getPptMediaState;
|
|
523
|
-
private getPlayingMediaIds;
|
|
524
|
-
private hasPptMediaPermissionRequest;
|
|
525
|
-
private notifyPptMediaPermissionRequest;
|
|
526
|
-
private handlePptMediaPermissionRequest;
|
|
527
|
-
private handlePptMediaPermissionResolved;
|
|
528
|
-
onPptMediaPermissionRequest(callback: () => void): () => void;
|
|
529
|
-
playPptMedia(): void;
|
|
530
525
|
private userInputHandle;
|
|
531
526
|
private _handleViewClick;
|
|
532
527
|
private handleViewTouchStart;
|
|
@@ -645,6 +640,10 @@ export declare class Slide extends Slide_base {
|
|
|
645
640
|
setResource(taskId: string, url: string): void;
|
|
646
641
|
private flushDebounce;
|
|
647
642
|
setResourceList(taskId: string, urls: string[]): void;
|
|
643
|
+
private commitPlayerSwap;
|
|
644
|
+
private disposeFailedReplacementPlayer;
|
|
645
|
+
private rollbackPlayerSwap;
|
|
646
|
+
private renderPlayerForSwap;
|
|
648
647
|
private _renderSlide;
|
|
649
648
|
private handlePrevSlide;
|
|
650
649
|
private handleNextSlide;
|