Mild clean ups

This commit is contained in:
Bernd Paradies
2015-06-27 16:03:24 -07:00
parent ab93afd2c3
commit d4b62e252d
5 changed files with 7 additions and 104 deletions

View File

@@ -248,7 +248,7 @@ static NSString *const statusKeyPath = @"status";
} else if(_playerItem.status == AVPlayerItemStatusFailed) {
[_eventDispatcher sendInputEventWithName:RNVideoEventLoadingError body:@{
@"error": @{
@"code": [NSNumber numberWithInt: (int)_playerItem.error.code],
@"code": [NSNumber numberWithInteger: _playerItem.error.code],
@"domain": _playerItem.error.domain
},
@"target": self.reactTag