From 86a90ca8dae248fbdf5b7f0d5ae8d12638245af3 Mon Sep 17 00:00:00 2001 From: Sanjay Bhangar Date: Sat, 8 Dec 2018 00:01:09 +0200 Subject: [PATCH 1/2] [wip] video player page --- public/index.html | 2 +- src/actions/action_types.js | 5 +++++ src/actions/topics.js | 2 ++ src/actions/videos.js | 8 ++++++++ src/components/VideoItem.js | 14 ++++++++----- src/components/VideoPlayer.js | 24 ++++++++++++----------- src/containers/Video.js | 37 +++++++++++++++++++++++++++++++++-- src/reducers/index.js | 6 ++++-- src/reducers/videos.js | 20 +++++++++++++++++++ src/utils/api.js | 2 +- 10 files changed, 98 insertions(+), 22 deletions(-) create mode 100644 src/actions/videos.js create mode 100644 src/reducers/videos.js diff --git a/public/index.html b/public/index.html index 4bfce95..6a09eb6 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + 858