40

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.

1
  • You can use Shift+N (next) and Shift+P (previous) to navigate through a playlist. But keep in mind that the playlist is kind of like on long video so if you start from the top (most recent video) of the playlist and you just let it play it will automatically go to the next one down in the playlist.
    – Monk
    Jul 13, 2020 at 1:37

9 Answers 9

45

Yup, you can! Shift+N is next video in playlist and Shift+P is the previous one!

2
  • 1
    I don't know if this is a recent development, but this definitely works and is the best solution.
    – Javid Pack
    Mar 10, 2015 at 3:19
  • This should be the accepted answer...
    – MemphiZ
    Mar 7, 2018 at 18:31
3

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
3

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.

3
  • 3
    This might be recent, but according to the link you posted: Next Track Media Key on keyboards: Moves to the next track in a play/list
    – Malabarba
    Oct 31, 2012 at 19:47
  • They have added undocumented keyboard shortcut now. See answer by Gal Peric.
    – wisbucky
    May 11, 2015 at 22:07
  • Also of interest, shift-chevrons adjust speed.
    – 2540625
    Aug 20, 2018 at 2:39
1

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).

2
  • none of this works in W7 and Chrome, but in fullscreen repeated right arrow moves to end of video then to next
    – user18941
    Apr 11, 2012 at 10:25
  • Just tested this in Chrome; <kbd>9</kbd> and <kbd>end</kdb> works. Context: Clicked the video interface so that it has focus, then used those shortcuts, Chrome version 40.0.2214.45 beta-m, on youtube.com, while watching a video, that is part of a playlist.
    – Femi
    Dec 24, 2014 at 16:18
1

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 [email protected]
// @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 protected]
// @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[0].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:

javascript:var x=document.getElementsByTagName('embed'); var y = x[0].focus();

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.

1

Maybe late but here is what I did

!x::
SetTitleMatchMode 2
IfWinExist, Chrome
{
    WinActivate YouTube
    Send +n
    Send !{Esc} ; Activate previous window
    return
}

Edit: Controlling via Media which is better

+!Left::Send   {Media_Prev}
+!Down::Send   {Media_Play_Pause}
+!Right::Send  {Media_Next}
shift + alt + left  = Prev Media
shift + alt + down  = Pause Media
shift + alt + right = Next Media
1

I've finally found an official post here with Youtube shortcuts, which also seems to work on Youtube Music.

Instead, there is an unofficial answer by an user with a complete list of shorcuts available in Youtube Music here.



The following shortcuts are reported from the unofficial post for Youtube Music.

Note: This list is unofficial, may not be complete and change over time.
Minus is meant that one on main keyboard, next to 0 and =, keypad is not supported.

There is a list in the player, simply press Shift + / or Shift + ? to see it.

Playback

  • Space or ; (semicolon) => Play/Pause
  • K or Shift + P => Previous Song
  • J or Shift + N => Next Song
  • H or Shift + Left Arrow => Go 10 seconds back
  • L or Shift + Right Arrow => Go 10 seconds forward
  • Shift + H or Ctrl + Shift + Left Arrow => Go 1 second back
  • Shift + L or Ctrl + Shift + Right Arrow => Go 1 second forward
  • S => Shuffle current queue
  • R => Switch repeat modes

General

  • - (minus) => Volume - 10
  • = => Volume + 10
  • Shift + - (minus) => Dislike Song and go to next
  • Shift + = => Like Song
  • F => Fullscreen
  • M => Mute/Unmute
  • Q => Maximize/Minimize Player with queue

Navigation

  • G + H => Go to home
  • G + L => Go to Library
  • G+ T => Go to Hotlist
  • G + ,(comma) => Go to Settings
  • / => Search
  • Shift + / => Show keyboard shortcuts
0

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.

-2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.