Removing the friction with using Youtube as a music player.
Youtube Prime Extension
Do you use Youtube as a music player? If so, then Youtube Prime is just for you. It doesn't do much, but it does it well: providing shortcuts to your Youtube tab.
In a nutshell, the experience will be as follows:
1- A Youtube tab is created and pinned. If you already have one there, Youtube Prime will use that one.
2- That's it! You can now use the shortcuts from any other Chrome tab.
Shortcuts:
1- ALT + P: Play/pause video
2- ALT + S: Search. Switch to Youtube tab and select search bar
3- ALT + L: Leap between player tab and last navigated tab
4- ALT + A: Turn on/off the extension's features.
* On Linux and Mac, you might have to set the shortcuts yourself. Open a new tab, navigate to chrome://extensions/configureCommands, and set the shortcut keys under the Youtube Prime extension.
Youtube Prime is open-source! See the code: https://github.com/plafer/YoutubePrime
Read more
In a nutshell, the experience will be as follows:
1- A Youtube tab is created and pinned. If you already have one there, Youtube Prime will use that one.
2- That's it! You can now use the shortcuts from any other Chrome tab.
Shortcuts:
1- ALT + P: Play/pause video
2- ALT + S: Search. Switch to Youtube tab and select search bar
3- ALT + L: Leap between player tab and last navigated tab
4- ALT + A: Turn on/off the extension's features.
* On Linux and Mac, you might have to set the shortcuts yourself. Open a new tab, navigate to chrome://extensions/configureCommands, and set the shortcut keys under the Youtube Prime extension.
Youtube Prime is open-source! See the code: https://github.com/plafer/YoutubePrime
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Youtube Prime", "version": "1.1", "minimum_chrome_version": "23", "description": "Removing the friction with using Youtube as a music player.", "author": "Philippe Laferriere", "icons": { "128": "icon.png" }, "browser_action": { "default_title": "Shortcuts", "default_icon": "icon.png", "default_popup": "browser_action.html" }, "commands": { "play-pause": { "suggested_key": { "default": "Alt+P" }, "description": "Play and pause the player." }, "player-search": { "suggested_key": { "default": "Alt+S" }, "description": "Search. Switches to the player tab if not already active selects the search bar." }, "tab-switch": { "suggested_key": { "default": "Alt+L" }, "description": "Leaps between the player and last visited tabs." }, "toggle-active": { "suggested_key": { "default": "Alt+A" }, "description": "Start/stop using the extension." } }, "background": { "scripts": ["background.js"], "persistent": false }, "permissions": [ "tabs", "storage", "https://*.youtube.com/watch*" ], "content_scripts": [ { "matches": ["https://*.youtube.com/*"], "js": ["youtube_script.js"] } ]}
Read more