Bump for 0.4.3
This commit is contained in:
parent
b41a39b7bc
commit
7259555b9c
@ -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',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-video",
|
||||
"version": "0.3.6",
|
||||
"version": "0.4.0",
|
||||
"description": "A <Video /> element for react-native",
|
||||
"main": "Video.ios.js",
|
||||
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
||||
@ -30,6 +30,6 @@
|
||||
"jest-cli": "0.2.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react-native": "^0.4.0"
|
||||
"react-native": "^0.4.3"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user