React Redux Tutorial | Create Youtube Player -3
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.
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.