Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
refactor: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
helbertgs authored and agripinogabriel committed Mar 22, 2021
1 parent 8654150 commit b340fa5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -809,10 +809,6 @@ extension AVFoundationPlayback: AVPictureInPictureControllerDelegate {
if AVPictureInPictureController.isPictureInPictureSupported() {
pictureInPictureController = AVPictureInPictureController(playerLayer: layer)
pictureInPictureController?.delegate = self
print("### \(#function)")
}
else {
print("### Picture in Picture Supported: \(AVPictureInPictureController.isPictureInPictureSupported())")
}
}

Expand All @@ -822,12 +818,10 @@ extension AVFoundationPlayback: AVPictureInPictureControllerDelegate {
}

public func pictureInPictureControllerWillStartPictureInPicture(_ pictureInPictureController: AVPictureInPictureController) {
print("### \(#function)")
trigger(Event.disableMediaControl)
}

public func pictureInPictureControllerDidStopPictureInPicture(_ pictureInPictureController: AVPictureInPictureController) {
print("### \(#function)")
trigger(Event.enableMediaControl)
}
}

0 comments on commit b340fa5

Please sign in to comment.