diff --git a/RCTVideo.m b/RCTVideo.m index fc9a2179..175ae2f5 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -76,6 +76,8 @@ @"canStepForward": [NSNumber numberWithBool:video.canStepForward], @"target": self.reactTag }]; + + [_player play]; } - (void)setResizeMode:(NSString*)mode @@ -85,11 +87,11 @@ - (void)setPause:(BOOL)wantsToPause { - if (wantsToPause) { - [_player pause]; - } else { - [_player play]; - } + if (wantsToPause) { + [_player pause]; + } else { + [_player play]; + } } diff --git a/package.json b/package.json index 5889b5b3..b22737a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-video", - "version": "0.2.0", + "version": "0.2.1", "description": "A