When you want to search and play YouTube videos, every time you will need to open a web browser, open YouTube website then search for videos. What if you have the option to search and play YouTube videos without the hassle of using a web browser? Gnome Shell includes a YouTube Search Provider extension that let you search and play YouTube videos in your Ubuntu OS. The best thing about this extension is that you can search YouTube videos directly from the Applications window and play them in your desktop video player like VLC, SM Player, etc. You will just need to hit the windows key, type any video name, and then click on the results to start playing the video on your video player. It is really perfect and useful for those who want to search and play for YouTube videos without using a web browser and a YouTube website.
In this article, we will take a look at how to search for YouTube videos on Ubuntu OS using an extension. This extension supports only some video players like VLC, SMPlayer, UMplayer, Totem, Miro, mpv. In case you do not have a compatible video player, the extension will play the selected video in the default web browser.
I will use Ubuntu 18.04 LTS for describing the procedure mentioned in this article.
Installing YouTube Search Provider extension
We will install the YouTube Search Provider extension by using the Ubuntu Software application. To launch it, press Windows key on your keyboard to open Ubuntu’s Dash menu. Then type ubuntu software. From the results, click on Ubuntu Software.
Then in the search bar of Ubuntu software, type youtube search provider. When the results appear, click on the extension.
Click on the Install button to install the youtube search provider extension.
Again, click on the Install button.
When the installation is finished, you can search and play YouTube videos directly from your application’s window. Now click on the Activities tab on the top left corner of your desktop or press Window key to open Ubuntu’s Dash menu. Then search for YouTube video by typing its name. Then from the search results, select the video by clicking on it.
It will launch the video on your default video player.
If you have a video player other than from the supported video players of this extension like discussed above, it will then open the video in your default web browser.
GNOME Youtube Extension Settings
You can change the default behavior of extension by modifying its settings. Navigate to Software Center installed tab, then scroll down to open the YouTube Search Provider extension. Then click on Extension Settings.
In the Extension Settings Viewer options, You can choose which video player to play videos in. You can choose from VLC (the default option), SMPlayer, UMplayer, Totem, Miro, and mpv.
In the Extension setting search options, you can:
- Select the method that will be used to order the results based on view count, upload date, rating, title, video count,)
- Search for videos newer than a particular time and date
- Enable or disable safe search depending upon whether you want restricted content or not
- Can filter videos depending upon whether they have captions
- Search for standard definition or High Definition videos,
- Filter videos depending upon video duration
- Can search for only 2D or 3D videos
- Filter videos based on Particular license
- Restrict the search to a specific type of videos like movies or episodes
So that is how you can install YouTube Search Provider extension in Ubuntu 18.04 LTS using which you can easily search and play YouTube videos in your video players without needing to open a web browser.