I have a YouTube playlist and would like to know whether there are keyboard shortcuts to move to a previous video or advance to a next video. This will be helpful instead of moving to click the bottom bar every time.
Yup, you can! Shift+N is next video in playlist and Shift+P is the previous one!
You need to click in the video to get focus first, but the below are keyboard shortcuts:
- Space is pause/play
- Shift-N is next track (or backspace)
- Shift-P is previous track
- F is fullcreen/resize
After the recent development, YouTube is now able to do that.
Shift+N: Move to the next video (If you are using a playlist, will go to the next video of the playlist. If not using a playlist, it will move to the next YouTube suggested video)
Shift+P: Move to the previous video. Note that this shortcut only works when you are using a playlist.
Next Track Media Key on keyboards: Moves to the next track in a play/list.
You can see the full list of YouTube keyboard shortcuts here.
You can use either 9 or the end key to reach near the end of the video. This should advance you to the next video in the selection.
For the previous video hit Backspace (PC) or Delete (On Mac).
On April 11th, 2012 at 10:25 - user18941 stated that the shortcut keys (e.g. 9/END) do not work on Windows 7/Chrome (not sure if he means that combination, or any combination containing one of the two) but that's incorrect. The reason why it doesn't appear to work is because the flash player is out of focus by default. If you click the video once, then use one of the hotkeys, they work.
So the solution would be to automatically focus the player on pageload. You could do this with a big bulky jQuery script, or you could use what I just created (essentially two lines of code), which seems to work just fine on Chrome/Windows 7. The script that I created gets a handle to the embed object, and then simply focuses it.
To do it yourself, create a new text file named anything.user.js, and in it, place:
// ==UserScript== // @name Download YouTube FocusFix by firstname.lastname@example.org // @description Creates hotkey to go to next video in playlist // @namespace http://googlesystem.blogspot.com // @include http://www.youtube.com/watch?* // @include https://www.youtube.com/watch?* // @match http://www.youtube.com/watch?* // @match https://www.youtube.com/watch?* // @author email@example.com // @version 1.1 // @date 2013-08-01 // GET ARRAY OF EMBED TAGS var aEmbed = document.getElementsByTagName('embed'); // FOCUS FIRST ONE (VIDEO PLAYER) var bFocus = aEmbed.focus();
Then install the TamperMonkey extension from the Chrome Store.
Once it's installed, open chrome://extensions and drag your anything.user.js file to the page window. It'll prompt you, asking if you wish to install the script - click yes. Then navigate to a YouTube playlist, ensure that autoplay is on and test it out by pressing the [END] key. It will immediately go to the end of the current video, which will trigger the next video.
That's it. You could also create a bookmarklet that points to:
But that sorta defeats the purpose of using a keyboard shortcut, since you'd have to click the bookmark. I glanced to see if there's anyway to execute a bookmark by hotkey (e.g. in Chrome), but that doesn't appear to be possible.
Don't think so. Google search did not provide any links that talk about keyboard shortcuts for the playlist bar. Even their help page does not mention any keyboard shortcuts. If there were keyboard shortcuts, hovering over the next/prev video buttons would show a tooltip with the keyboard key to press.
I was thinking that there'd be a browser extension that mapped screen-region clicks to a keystroke but I couldn't find anything either. If it did exist, you could have used that as a workaround.
Not sure if it's a solution for you, but try http://www.streamkeys.com/guide.html
The chrome app also has some settings, unfortunately none for the previous track, but everything else is there.