From c15f1cdfa6c1e97634087bb9eedf6508ef9a7682 Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Sat, 17 Nov 2018 16:21:47 +0000 Subject: [PATCH] Export single player exports to main file Fixes https://github.com/CookPete/react-player/issues/421 --- src/ReactPlayer.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ReactPlayer.js b/src/ReactPlayer.js index c9158400..aeabecce 100644 --- a/src/ReactPlayer.js +++ b/src/ReactPlayer.js @@ -122,3 +122,14 @@ export default class ReactPlayer extends Component { ) } } + +export { default as YouTube } from './players/YouTube' +export { default as SoundCloud } from './players/SoundCloud' +export { default as Vimeo } from './players/Vimeo' +export { default as Facebook } from './players/Facebook' +export { default as Streamable } from './players/Streamable' +export { default as Wistia } from './players/Wistia' +export { default as Twitch } from './players/Twitch' +export { default as DailyMotion } from './players/DailyMotion' +export { default as Mixcloud } from './players/Mixcloud' +export { default as FilePlayer } from './players/FilePlayer'