Skip to content

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

@iMustafaAbozaina

Description

@iMustafaAbozaina

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions