Have a private moment with your favourite video.

Latest Version

Version
2.2.0.0
Update
May 30, 2024
Size
190KiB
Developer
Category
Users
121
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Scripting
Storage
Tabs
See more

YouTube Only Video Extension

⚠ Epilepsy warning: This extension contains a mode in which your screen's background color changes its color quickly. A warning message is shown when it is going to be activated. If you're a person who suffers from photosensitive epilepsy, I recommend you to not use this mode. ⚠

Sometimes you just want to remove every HTML element from the YouTube page and be alone with the video you're watching. Indeed, it happens a lot.

The extension is activated when its icon is clicked from a tab where a YouTube video is being played. Once clicked, full screen mode is activated and the current window will only show the YouTube video's frame; a pop-up that contains a color palette will appear too (second screenshot). This provides different ways to select the color for the page's background. Also, It can activate a mode where the color will be set to the video's current predominant one dynamically. These functions are shown in the linked video: https://www.youtube.com/watch?v=gUc8nfeJWoU.

This extension doesn't emulate an Ambilight technology. If you're looking for something like this, I recommend you the following extension, that provides really professional and pretty results: YouTube Ambilight, by Wezelkrozum (https://chrome.google.com/webstore/detail/youtube-ambilight/paponcgjfojgemddooebbgniglhkajkj).

FYI: Extensions are not activated automatically when they are installed. This extension, like many others you have tried probably, starts working on all the corresponding tabs at the right moment it is installed, but this is not the default behaviour. Take in mind that if you install an extension sometime and it doesn't work on the tabs you have already open, you may need to refresh those tabs with F5 key or by clicking on the reload button located in the browser's top left corner.

Code: https://github.com/jmt-chromeextensions/YouTubeOnlyVideo

These tools make the extension work:
—jBox, https://stephanwagner.me/jBox/demo/draggable-popup-windows (https://github.com/StephanWagner/jBox)
—Spectrum, https://seballot.github.io/spectrum (https://github.com/seballot/spectrum)
—Color Thief, https://lokeshdhakar.com/projects/color-thief (https://github.com/lokesh/color-thief)
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "YouTube Only Video", "short_name": "YouTubeOnlyVideo", "version": "2.2.0.0", "description": "Have a private moment with your favourite video.", "icons": { "16": "extension_icons/youtubeonlyvideo-16.png", "32": "extension_icons/youtubeonlyvideo-32.png", "48": "extension_icons/youtubeonlyvideo-48.png", "128": "extension_icons/youtubeonlyvideo-128.png" }, "action": { "default_title": "\ud83d\udd34 \u25b6 \u26ab" }, "background": { "service_worker": "background_scripts/initialize_extension.js" }, "content_scripts": [ { "matches": [ "https://*.youtube.com/*" ], "css": [ "tools/jbox/jBox.all.css", "tools/spectrum/spectrum.css" ], "js": [ "jquery/jquery-3.4.1.min.js", "jquery/jquery-ui.min.js", "tools/jbox/jBox.all.min.js", "tools/spectrum/spectrum.js", "tools/color-thief/color-thief.min.js", "icons/buttons_icons.js", "content_scripts/youtube_only_video.js" ] } ], "web_accessible_resources": [ { "resources": [ "background_scripts/initialize_extension.js", "background_scripts/ext_button_clicked.js" ], "matches": ["https://*.youtube.com/*"] } ], "permissions": [ "scripting", "storage", "tabs" ], "host_permissions": [ "https://*.youtube.com/*" ]}
Read more