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

JWPlayerViewController.player return with nil after updating to 4.18.0 #3

Open
iMustafaAbozaina opened this issue Apr 28, 2024 · 0 comments

Comments

@iMustafaAbozaina
Copy link

When subclassing JWPlayerViewController and upgrading to version 4.18.0, initializing the subclass with super.init() results in a crash with the error: "Use of unimplemented initializer 'init(nibName:bundle:)' for class 'VideoPlayerViewController'". Attempting to resolve this by using super.init(nibName: nil, bundle: nil) prevents the crash but causes playerViewController.player to become nil, leading to another crash.

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