-
Notifications
You must be signed in to change notification settings - Fork 60
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
Playing local files #22
Comments
Both local files and http streaming. |
Thanks.
I have the following logs:
The video does not play, scrolling also doesn't work. Only black screen with empty bar is visible. |
I suggest you open the media in - (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
[self initAll];
[self registerNotification]; // <-- Move from viewWillAppear:
}
// Unregister notifications when dealloc
- (void)dealloc {
[self unregisterNotification]; // <-- Move from viewWillDisappear:
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
// [self registerNotification]; // <-- Delete
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
// [self unregisterNotification]; // <-- Delete
} |
Ok Thanks @DeviLeo!!! |
I have a question. Does this player plays also local files (on iPad/iPhone) or only by http streaming? Thanks in response.
The text was updated successfully, but these errors were encountered: