Here is something cool you can do while programming!
You do not always have to stare at code

Writing code can sometimes be a stressful and time-consuming journey. Most of our time we spend trying to solve the problem, we sit on a chair, eyes locked on the screen, and mind focused on finding the solution. But what if we can make the journey more enjoyable?
These couple of weeks I have found something exciting. I have started watching live YouTube videos while programming. So I do this by putting it up on top of the screen like the bottom-right corner, and it stays visible even when I change between programs.
You can watch a video where someone walks in downtown Manhatten on a rainy day, a train traveling with beautiful landscape view, a rocket ready to be sent to space, and so forth. Lots of exciting content one can watch, you just have to find what you are interested in.
So how do we get started?
Most browsers today support this feature like Chrome and Firefox (latest version) where you can put up a video on top of the screen. You have lots of options like you can drag the video to wherever you want, you can pause it, and increase the size. Let me show you how by starting with Chrome.
1. Setup a live-video in Chrome
If you want to play a video from YouTube, click on the icon with a music note which can be found in the top-right corner. Once you click it, a small page will open, then click on the thumbnail icon.

This will open up a small-sized video on the bottom-right of your screen, now you can code while watching something interesting.

2. Setup a live-video in Chrome
If you are using Firefox, you can do the same as shown in Chrome. The only difference is that the thumbnail icon is found in the center-right part of the video. This provides the same options as shown above.

3. Interesting videos to watch
Summary
Now we have gone through how to put a video on top of other programs using browsers like Chrome and Firefox. In addition, we have provided some suggestions of what videos to watch while working.
It is not easy to concentrate by having a live-video running, but at least it makes the journey more fun. Writing code can sometimes be a lonely process, so it does not hurt to have something interesting to watch.
In either way, you decide what works best for you. I personally do not have these videos visible all the time. However, in these corona times where we spend most of our time isolated, it is maybe not a bad idea.
If you enjoyed this article and want more like these, please give it 👏 and share it with friends, it’s good karma!
You can find me on Medium where I try to publish on a weekly basis or you can follow me on Twitter.