From 1dffccafca1f3440068a66e661a1fced9cde1593 Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Tue, 21 Jun 2016 09:25:34 +0100 Subject: [PATCH] Pass fileConfig down correctly https://github.com/CookPete/react-player/issues/76#issuecomment-227372263 --- src/ReactPlayer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ReactPlayer.js b/src/ReactPlayer.js index 3a9ced37..340fc8f9 100644 --- a/src/ReactPlayer.js +++ b/src/ReactPlayer.js @@ -49,7 +49,7 @@ export default class ReactPlayer extends Component { } renderPlayer = Player => { const active = Player.canPlay(this.props.url) - const { youtubeConfig, soundcloudConfig, vimeoConfig, ...activeProps } = this.props + const { youtubeConfig, soundcloudConfig, vimeoConfig, fileConfig, ...activeProps } = this.props const props = active ? { ...activeProps, ref: 'player' } : {} return ( )