feat(video): 添加阿里云播放器实例获取方法

- 在 AliPlayerRef 接口中新增 getPlayerInstance 方法
- 该方法返回播放器实例,便于外部访问播放器功能
master
LiuJiaNan 2026-04-02 11:35:05 +08:00
parent 858a7ef97e
commit f25cdca396
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ export interface AliPlayerProps {
export interface AliPlayerRef {
play: () => void;
pause: () => void;
getPlayerInstance: () => any;
}
/**