소스 검색

1.修改播放器

wenweiwei 3 년 전
부모
커밋
eebc25ba9f
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      BFFramework/Classes/BFModules/BFUtility/PQSingletoVideoPlayer.swift

+ 6 - 0
BFFramework/Classes/BFModules/BFUtility/PQSingletoVideoPlayer.swift

@@ -128,6 +128,12 @@ public class PQSingletoVideoPlayer: NSObject {
             playVideoData = nil
         }
     }
+    
+    /// seek
+    /// - Parameter time: <#time description#>
+    public func seek(time:Float){
+        player.seek(time)
+    }
 
     override private init() {
         super.init()