... | @@ -224,6 +224,13 @@ DWPlayerView包含的属性及方法如下: |
... | @@ -224,6 +224,13 @@ DWPlayerView包含的属性及方法如下: |
|
|
|
|
|
- (void)setPlayInBackground:(BOOL)play;
|
|
- (void)setPlayInBackground:(BOOL)play;
|
|
|
|
|
|
|
|
/**
|
|
|
|
设置是否画中画模式
|
|
|
|
|
|
|
|
@param play 是否画中画模式
|
|
|
|
*/
|
|
|
|
- (void)setPictureInPicture:(BOOL)openPIP API_AVAILABLE(ios(9.0));
|
|
|
|
|
|
/**
|
|
/**
|
|
切换倍速
|
|
切换倍速
|
|
@param rate 速率
|
|
@param rate 速率
|
... | @@ -405,6 +412,9 @@ DWPlayerViewDelegate方法及含义如下: |
... | @@ -405,6 +412,9 @@ DWPlayerViewDelegate方法及含义如下: |
|
|
|
|
|
//加载失败
|
|
//加载失败
|
|
- (void)videoPlayer:(DWPlayerView *)playerView didFailWithError:(NSError *)error;
|
|
- (void)videoPlayer:(DWPlayerView *)playerView didFailWithError:(NSError *)error;
|
|
|
|
|
|
|
|
//AVPlayerLayer对象发生改变时回调
|
|
|
|
- (void)videoPlayer:(DWPlayerView *)playerView ChangePlayerLayer:(AVPlayerLayer *)playerLayer;
|
|
```
|
|
```
|
|
|
|
|
|
### 1.2.4 DWPlayerSkinView的使用
|
|
### 1.2.4 DWPlayerSkinView的使用
|
... | | ... | |