BMPlayer icon indicating copy to clipboard operation
BMPlayer copied to clipboard

Remove button from control view

Open geclick opened this issue 2 years ago • 0 comments

Check List

Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

BMPlayer version

Installed with

  • [ ] Carthage
  • [x] Cocoapods

Issue Description

What

I need to remove the full screen button, but the only way for doing this is creating a custom controlView subclassing BMPlayerControlView. If the controlView attribute of BMPlayer wasn't private, someone can access the fullscreenButton and remove it from his superview, or set the controlView directly. I added the player via IB so I wouldn't have to reinitialize it or setting constraints using SnapKit

Reproduce

[The steps to reproduce this issue. What is the URL you were trying to play, where did you put your code, etc.]

Other Comment

[Add anything else here]

geclick avatar Sep 23 '21 15:09 geclick