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"