Skip to content

Commit

Permalink
Update AbstractPlayer.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftuiux committed Sep 10, 2024
1 parent 49bace7 commit d8cda09
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ extension AbstractPlayer{
}

player.seek(to: seekTime){ [weak self] value in
self?.delegate?.didSeek(value: value, currentTime: seekTime.seconds)
let currentTime = CMTimeGetSeconds(player.currentTime())
self?.delegate?.didSeek(value: value, currentTime: currentTime)
}
}

Expand Down

0 comments on commit d8cda09

Please sign in to comment.