Skip to content

Commit

Permalink
Merge pull request #244 from taurunum24/main
Browse files Browse the repository at this point in the history
Expose AVPlayer property
  • Loading branch information
piemonte authored Feb 21, 2022
2 parents 8ca4fbf + dab031f commit 4035177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Player.swift
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,9 @@ public class PlayerView: UIView {
}
}

internal var player: AVPlayer? {
// MARK: - public properties

public var player: AVPlayer? {
get {
return self.playerLayer.player
}
Expand All @@ -958,8 +960,6 @@ public class PlayerView: UIView {
}
}

// MARK: - public properties

public var playerBackgroundColor: UIColor? {
get {
if let cgColor = self.playerLayer.backgroundColor {
Expand Down

0 comments on commit 4035177

Please sign in to comment.