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

Long videos not loading #184

Open
mcinside13 opened this issue Feb 8, 2018 · 1 comment
Open

Long videos not loading #184

mcinside13 opened this issue Feb 8, 2018 · 1 comment

Comments

@mcinside13
Copy link

If i try to load an video more than 1 minute, the player stay loading forever.

My code:

 @IBAction func btnPlayVideoTapped(_ sender: Any) {
        let playerVC = MobilePlayerViewController(
            contentURL: URL(string: "https://www.youtube.com/watch?v=r2z1hKOB3ms")
        let currentController = self.getCurrentViewController()
        playerVC.clearOverlays()
        playerVC.fillVideo()
        currentController?.present(playerVC, animated: true, completion: {playerVC.setNeedsStatusBarAppearanceUpdate()})
    }

Anyone had this problem?

@isair
Copy link
Contributor

isair commented Oct 2, 2018

Could you check the video url found by the YoutubeParser for that youtube url?

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

2 participants