From d6f38f3748b6ba0cbe884badf2412416e7ee947f Mon Sep 17 00:00:00 2001 From: Rustam S Date: Wed, 20 Jul 2016 04:12:09 +0600 Subject: [PATCH 1/2] delete src from blacklist need for work when router reload page --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a51504b..37f56da 100644 --- a/src/index.js +++ b/src/index.js @@ -20,7 +20,7 @@ module.exports = React.createClass({ }, render() { - var props = blacklist(this.props, 'children', 'className', 'src', 'type', 'onPlay'); + var props = blacklist(this.props, 'children', 'className', 'type', 'onPlay'); props.className = cx(this.props.className, 'videojs', 'video-js vjs-default-skin'); assign(props, { From 807e4681a1e953d8f76591dd66662ba04577edf8 Mon Sep 17 00:00:00 2001 From: Rustam S Date: Wed, 20 Jul 2016 04:12:36 +0600 Subject: [PATCH 2/2] delete src from blacklist --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0862782..e2d6e69 100644 --- a/dist/index.js +++ b/dist/index.js @@ -22,7 +22,7 @@ module.exports = React.createClass({ }, render: function render() { - var props = blacklist(this.props, 'children', 'className', 'src', 'type', 'onPlay'); + var props = blacklist(this.props, 'children', 'className', 'type', 'onPlay'); props.className = cx(this.props.className, 'videojs', 'video-js vjs-default-skin'); assign(props, { @@ -40,4 +40,4 @@ module.exports = React.createClass({ ) ); } -}); \ No newline at end of file +});