React Redux Tutorial | Create Youtube Player -3

Nabendu Biswas
1 min readJun 21, 2020

--

Welcome to part-3 of the series. You can find part-2 here.

We will add the functionality to click on a video, in the list to select it and display it in the player.

Let’s now start with video_list_item.js and add the onClick() handler. Here we have imported the YTSearchAction first and then in li (which will hold a single video in list), added an onClick() handler which will send the video to the init function.

video_list_item.js

You can read the complete blog from my site. The link for the same is -

You need to restart npm start to see the project working again. You can find the code for this series in this github repo.

--

--

Nabendu Biswas
Nabendu Biswas

Written by Nabendu Biswas

Architect, ReactJS & Ecosystem Expert, Youtuber, Blogger

No responses yet