From 7cef7432e851cccef88c80dbad011561fe4257a0 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Wed, 8 Apr 2015 12:02:42 -0700 Subject: [PATCH] Import RCTConvert properly --- Examples/VideoPlayer/index.ios.js | 2 +- RCTVideo.m | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Examples/VideoPlayer/index.ios.js b/Examples/VideoPlayer/index.ios.js index 787a3807..e8a51beb 100644 --- a/Examples/VideoPlayer/index.ios.js +++ b/Examples/VideoPlayer/index.ios.js @@ -21,7 +21,7 @@ var VideoPlayer = React.createClass({ rate: 1, volume: 1, muted: false, - resizeMode: 'contain', // cover, stretch + resizeMode: 'contain', duration: 0.0, currentTime: 0.0, } diff --git a/RCTVideo.m b/RCTVideo.m index 132fed73..18a658c8 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -1,3 +1,4 @@ +#import "RCTConvert.h" #import "RCTVideo.h" #import "RCTLog.h" #import "RCTBridgeModule.h"