From 7259555b9c9fbd16674ebc589f17ea952cdca01c Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Thu, 14 May 2015 18:10:41 -0700 Subject: [PATCH] Bump for 0.4.3 --- Video.ios.js | 8 ++++---- package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Video.ios.js b/Video.ios.js index c946c445..21f4644f 100644 --- a/Video.ios.js +++ b/Video.ios.js @@ -1,8 +1,8 @@ var React = require('react-native'); var NativeModules = require('NativeModules'); -var ReactIOSViewAttributes = require('ReactIOSViewAttributes'); +var ReactNativeViewAttributes = require('ReactNativeViewAttributes'); var StyleSheet = require('StyleSheet'); -var createReactIOSNativeComponentClass = require('createReactIOSNativeComponentClass'); +var createReactIOSNativeComponentClass = require('createReactNativeComponentClass'); var PropTypes = require('ReactPropTypes'); var StyleSheetPropType = require('StyleSheetPropType'); var VideoResizeMode = require('./VideoResizeMode'); @@ -33,7 +33,7 @@ var Video = React.createClass({ viewConfig: { uiViewClassName: 'UIView', - validAttributes: ReactIOSViewAttributes.UIView + validAttributes: ReactNativeViewAttributes.UIView }, _onLoadStart(event) { @@ -100,7 +100,7 @@ var Video = React.createClass({ }); var RCTVideo = createReactIOSNativeComponentClass({ - validAttributes: merge(ReactIOSViewAttributes.UIView, + validAttributes: merge(ReactNativeViewAttributes.UIView, {src: {diff: deepDiffer}, resizeMode: true, repeat: true, seek: true, paused: true, muted: true, volume: true, rate: true}), uiViewClassName: 'RCTVideo', diff --git a/package.json b/package.json index d680027d..b625d3fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-video", - "version": "0.3.6", + "version": "0.4.0", "description": "A