wenweiwei преди 4 години
родител
ревизия
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()