diff --git a/RCTVideo.m b/RCTVideo.m index d1fd8171..1c9f3b6e 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -49,6 +49,7 @@ static NSString *const statusKeyPath = @"status"; _pendingSeekTime = 0.0f; _lastSeekTime = 0.0f; } + return self; } @@ -174,7 +175,6 @@ static NSString *const statusKeyPath = @"status"; } - (void)attachListeners { - // listen for end of file [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notifyEnd:) diff --git a/package.json b/package.json index a26468c9..30b7c331 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "react-native-video", - "version": "0.2.9", + "version": "0.3", "description": "A