Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maximize option is not visible #31

Closed
d33pak-s1ngh opened this issue Jun 28, 2018 · 1 comment
Closed

maximize option is not visible #31

d33pak-s1ngh opened this issue Jun 28, 2018 · 1 comment

Comments

@d33pak-s1ngh
Copy link

d33pak-s1ngh commented Jun 28, 2018

following is my code to create videoPlayer

`var videoPlayer: ASPVideoPlayer = {
        let player = ASPVideoPlayer()
        player.translatesAutoresizingMaskIntoConstraints = false
        player.tintColor = UIColor.white
        player.backgroundColor = UIColor.black
        player.isUserInteractionEnabled = true
        player.isOpaque = true
        
      //  player.gravity = .aspectFitvideo
        return player
    }()`

how do i set maximize option ? I can't see icon to maximize video.
Thank you for this pod.

@d33pak-s1ngh
Copy link
Author

It is working after implementing rotate method Thanx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant