feat(video): 添加阿里云播放器实例获取方法
- 在 AliPlayerRef 接口中新增 getPlayerInstance 方法 - 该方法返回播放器实例,便于外部访问播放器功能master
parent
858a7ef97e
commit
f25cdca396
|
|
@ -32,6 +32,7 @@ export interface AliPlayerProps {
|
||||||
export interface AliPlayerRef {
|
export interface AliPlayerRef {
|
||||||
play: () => void;
|
play: () => void;
|
||||||
pause: () => void;
|
pause: () => void;
|
||||||
|
getPlayerInstance: () => any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue