How To Play Music from YouTube on the Amazon Echo

Moving closer to the world of Star Trek and talking computers that follow your voice commands, the Amazon Echo is an amazing interactive device. The echo is essentially a voice-activated internet-connected device with two-way audio. Alexa can answer your questions, and follow your commands. You can even ask Alexa to place Amazon orders for you.

Those with smart home devices often use Alexa to control their various smart devices such as the thermostat, security cameras, lights, door locks, and more.

One feature that not everyone is aware of is that the Echo can take media from other sources and play it over its speaker. You can connect your smartphone, tablet, or even desktop computer to Alexa via a Bluetooth connection to play music and other media.

In this TechJumkie article, I’m going to show you how to play music from YouTube on your Amazon Echo.

The Amazon Echo already has a very large selection of music-playing ability built-in that works tight out of the box. The Echo can play Amazon Prime Music, Amazon Music Unlimited, Spotify, Pandora, iHeartRadio, TuneIn, and many other services. However, the Echo also has the ability to play music from other sources via Bluetooth, including YouTube. Of course, YouTube has other types of audio content other than music such as podcasts.

Play music from YouTube on the Amazon Echo

A lot of people like to listen to music on YouTube rather than on the apps and services specifically designed for music. YouTube is free and has untold millions of tracks and playlists from new artists, mainstream acts, superstars, and musicians from the past.

If a song or piece has ever been recorded, it is probably available on YouTube. However, YouTube (owned by Google) is a competitor to Amazon’s own music services such as Amazon Music. For that reason, the Echo does not natively support playing music found only on YouTube.

Because of this limitation, in order to play music from YouTube, you will need to pair your Echo with an external device using Bluetooth. You can use pretty much any Bluetooth-enabled device that has an Internet connection. For the purpose of this walkthrough, I will be using my smartphone.

To make this work, you will need a working Amazon Echo or Echo Dot and a Bluetooth-enabled device with Internet connectivity. Here’s how to set up your Echo to play music and other content available on YouTube:

  1. Turn on Bluetooth on your connected device.
  2. Say “Alexa, connect with my phone” or other devices you want to connect.
  3. Follow the instructions to pair the Echo with your device.
  4. Open the YouTube app on your device (or in the device’s web browser) and play whatever music or whatever else you want to play on want.
  5. The sound will now come through on your Echo’s speaker.

Unfortunately, you can’t control YouTube via the Echo the way you can control Pandora or Spotify or Amazon Music, but you can control the Echo part of the equation.

You can stop playback, pause it, turn the volume up or down, but that’s about it. Those commands don’t affect your connected device which is streaming the YouTube content.

That device (in my case my iPhone) continues playing regardless of what the Echo’s doing. All you can control is the Echo’s playing of the audio stream from your device.

Add A Skill to Alexa to play YouTube from Your Echo

If you’re unsatisfied with this (I would be), there are other approaches that you can take to automate the process, making it a more seamless experience. While Amazon is unlikely to add direct support for YouTube playback to the Echo or Echo Dot anytime soon, there are third parties using the Amazon Echo skills toolkit that have enabled playback functionality.

The Amazon Skills Kit enables developers to create and publish skills for Alexa that users can then install to extend the functionality of the Amazon Echo.

Alexa-YouTube Skill Kit

Update: The developer of this skill says that it’s been so popular he’s now being charged so he’s asking for a $3/month donation to use the above skill or you can host the code on your own server. See the developers GitHub for more information and to donate. 

The most full-featured and actively developed Alexa skill that allows the playing of YouTube audio streams is called Alexa-YouTube, and while installing it is a fairly involved process, it’s well-documented and works well once completed.

Here is a walkthrough of the process of adding the YouTube skill to your Echo:

  1. Go to the Alexa Console.
  2. Register as an Amazon Developer if you haven’t already done so.
  3. Once you’ve completed the registration and are logged into Alexa Developer, select Alexa Skills Kit from the Alexa pull down.
  4. Click Create Skill.
  5. Then give your Skill a name and select the default language.create new Alexa skill
  6. Then select the Custom” model.custom model
  7. Then select Provision Your Own.provision your own
  8. Enter n Skill Invocation Name, which are two words you’ll use to invoke the skill.
  9. On the left-hand menu, click JSON Editor.
  10. Delete everything in the text box.
  11. In another browser tab, load the code from GitHub, and copy it. This is for the English version; use InteractionModel_fr.json, InteractionModel_it.json, InteractionModel_de.json, or InteractionModel_es.json for French, Italian, German or Spanish respectively.
  12. Paste the code into the JSON Editor text box.
  13. Click Save Model at the top.
  14. Click “Interfaces” in the menu on the left, and enable Audio Player and Video App.
  15. Click Save Interfaces.
  16. Click “Endpoint” in the menu on the left, and select “AWS Lambda ARN”. Under “Default Region”, you need to enter the region code for wherever you are located. If you are in the EU, use “arn:aws:lambda:eu-west-1:175548706300:function:YouTube”. If you are in Asia, use “arn:aws:lambda:ap-northeast-1:175548706300:function:YouTube”. For the United States (east), use “arn:aws:lambda:ap-northeast-1:175548706300:function:YouTube”, and for the United States (west) use “arn:aws:lambda:us-west-2:175548706300:function:YouTube”.
  17. Click Save Endpoints.
  18. Click Permissions at the very bottom on the left-hand side.
  19. Turn on Lists Read and Lists Write.
  20. Click “Custom” in the menu on the left and review the Skill Builder Checklist on the left-hand side. Every item should be green, though you may have to wait several minutes for the Build Model to complete.skill builder checklist
  21. At the top of this page, click Test.
  22. Change the Test is disabled for this skill, from Off to Development.

Now you’re good to go. Your Echo will now respond to voice commands to play YouTube directly, as though it were one of the built-in features of Alexa.

If your Echo says it can’t find any supported skills in response to a YouTube command, try starting out with “Alexa, open YouTube”. That should properly initialize the stream.

YouTube Skill Voice Commands

Alexa-YouTube supports a strong subset of the normal voice commands. Here is the basic list of supported commands.

To play a specific song video, just name the video. For example, “Alexa, ask YouTube to play Rocket Man”.

Similarly, for a playlist, “Alexa, ask YouTube to play playlist All My Pop Favorites”.

For a channel, use “Alexa, ask YouTube to play channel VanossGaming”.

You can say “shuffle” instead of “play” for channels and playlists.

The standard commands for “next”, “previous”, “start over”, “pause” and “resume” all work.

You can ask what song is playing with “Alexa, ask YouTube what song is playing”.

You can skip ahead or back with “Alexa, ask YouTube to skip forward / backward / by [time amount]”.

If you only want one video to play, say “Alexa, ask YouTube to play one video by the Beatles”.

You can turn autoplay on or off with “Alexa, ask YouTube to turn on autoplay / turn off autoplay”.

You can ask how far into the video you are with “Alexa, ask YouTube what is the timestamp?”

If you want to access YouTube’s built-in “find similar music” feature, say “Alexa, ask YouTube to play more like this”.

Note that occasionally, the Alexa-YouTube skill will play an ad that supports the developer of the skill. It’s a tiny price to pay for a frankly amazing addition to the Alexa skill toolbox.

Alexa music commands

Here is a list of some of the core music commands you can use with your Echo right out of the box. They all work with the built-in music apps and some will work with the Alexa-YouTube skill.

Core Alexa music commands:

  • “Alexa, Shuffle” will turn on Shuffle Mode.
  • “Alexa, Stop shuffle? will turn off Shuffle Mode
  • “Alexa Stop” or “Alexa Pause” will stop or pause the song.
  • “Alexa, Play”
  • “Alexa, Resume.”
  • “Alexa play some music.”
  • “Alexa, play what’s hot in Canada.”
  • “Alexa, play songs similar to the Nineties.”
  • Alexa, turn it up!”
  • “Alexa, turn it down!”
  • “Alexa, stop.”
  • “Alexa, continue.”
  • “Alexa, skip” will skip the current song.

Alexa music service commands

You can also command Alexa to work with music services as well as Amazon Prime Music or Music Unlimited. The Spotify commands may require Spotify Premium to work but may work in all situations. I have the premium so they all work for me so I couldn’t test them properly.

Some commands include:

  • “Alexa, play song, album, artist.”
  • “Alexa, play emotion or type of music.”
  • “Alexa, play station name.”
  • “Alexa, playlist name.”
  • “Alexa,  lay a Prime Playlist.”
  • “Alexa, play <song name> from Prime Music.”
  • “Play music by <composer>/<artist>/<band> from Spotify.”
  • “Alexa, connect to Spotify.”
  • “Alexa, play genre from Spotify.”
  • “Alexa, show me songs, playlists, genres from Prime Music.”
  • “Alexa, who’s the lead singer for this band?”
  • “Alexa, block explicit songs.”
  • “Alexa, stop blocking explicit songs.”
  • “Alexa, add song, album, artist to playlist name.”
  • “Alexa, create a playlist.”

The bottom line is that you can play music from YouTube on the Amazon Echo or Echo Dot. You can do it almost immediately with a Bluetooth-connected device, or you can do it really well by adding a skill to Alexa.



20 thoughts on “How To Play Music from YouTube on the Amazon Echo”

Avatar Monica says:
Hi. Thanks for these detailed steps!

I was able to install the skill from the Dev Console. However, when I launched it from my Alexa device with the voice command it played a message from the developer stating that he had shut down his skill-host server to the general public, because Amazon was going to start charging him for use of his service due to its high use. He also stated the code remains on GitHub for anyone who wishes to run on their own server.

I am going to look into using AWS Lambda for hosting and using my own endpoint. This will be something new for me on Amazon, but I think I can figure it out.
If anyone has further suggestions or comments, please post a reply.

Here is the actual message played by the installed skill:
“Hi there. This is the developer. Unfortunately, this skill has become too popular, so Amazon is starting to charge me for its use. Therefore, I am closing this server to the general public. If you would like to continue using it, please consider donating at ??? . Alternatively, the code remains on GitHub for you to run on your own servers. Thanks and goodbye.”

Avatar Geralt says:
Same here, Do I need to run my own server? How can I make it?
Avatar Pranab says:
I have same problem
Avatar Pradeep says:
I followed all the steps. when I click on build model I get the error “Missing sample utterance. At least one sample utterance is required. Error code: MissingSampleUtterance”. Do you know what could be the error
Avatar vinz says:
I have the same problem here and I don’t know how to solve it
Avatar joel says:
When I try to use this skill to play my playlist, I get the message “This skill is being thrott
led by Youtube.
Avatar Sothoms says:
Same problem
Stop working anymore
Avatar ndg63276 says:
Hi, I’m the original developer behind this work. Please raise any issues on the github page – There are also FAQs there which solve many of your problems.

I am also looking for:
* help with maintaining the skill, if anyone has experience with Alexa skills and Python.
* ideas for monetizing, as the current adverts for Bulb energy have raised zero money so far, and the lambda servers are starting to cost money.

Avatar Luca says:
I created the skill as described and I managed for Alexa to activate the skill but even though it recognizes what command I say it only responds with “there is a problem with the skill response”.
Is there any way to fix this or is this currently bugged and unable to play the actual audio in the end?
Avatar Jacob rowe says:
What code for Australia?
Avatar Andrew O' Riordan says:
Is there anybody who can help? The instructions have not worked for me.
Avatar Chance says:
This was working great until a few days ago when alexa tells me my daily limit usage is up and to change the permissions in the app. how can i fix this?
Avatar Josh says:
At the testing phase. All I get is “No content”. repeatedly at every attempt. Nothing else. I’m confused. What could be wrong?
Avatar Othoniel Castellanos says:
Alexa says: You just triggered NowPlayingIntent . I’m at México City…
Avatar Jerry says:
Wondering if there’s a way to utilize my YouTube premium subscription with this to avoid the ads? Is there a way to sign into my account for things like playlists?
Avatar Eduardo says:
Hi, i’m from Mexico, in the step 14 what should i put for the region stuff?
Avatar Hung says:
when I said: “Play playlist name.” it doesn’t understand and play any playlist on youtube. so how to link my account youtube with this skill?
Avatar BE says:
for sound only not a video
first awesome with the Bluetooth as it should as we all wasn’t looking for!
the second over the moon .. but video has not picture only the sound in both echo devices that has a screen .. How we can bring the picture as the screen is blank with only sound ??
Avatar Andrew O' Riordan says:
Hey. Please help. I followed your instructions completely (I think)
My new Alexa says “I couldn’t find any enabled video skills. Go to the Alexa app to enable video skills”
Avatar Bungaloo says:
same here,tried everything
in console is kinda working
Avatar Jibu Chacko says:
I am too stuck with the same. Console it works. But Echo Dot keeps saying “I couldn’t find any enabled video skills. Go to the Alexa app to enable video skills”. Even when I say “Alexa, Launch YouTube”
Avatar Drew C says:
Works great! Do you know if there’s a way to further this skill by having it recognize my YouTube log in so I can access my personal playlists?
Avatar Duck says:
Hello, I did everything according to the steps. However, when I try testing it, I get an error: “Unsupported Directive” -“AudioPlayer is currently an unsupported namespace. Check the device log for more information”
Also, after doing this, is there anything else I have to do to enable it on my echo dot?
Avatar Ryan says:
Works perfectly.
Avatar Justin O’Hagan says:
Hi, thanks so much for your detailed walkthrough however I wasn’t able to get the skill to work form the steps you provided. Should there be more than the 22 in this guide as you say in the post “A mere 33 steps layer, that’s it!”. I would appreciate if you could help as I am eager to get this skill to work with my echo dot. Thanks!
Avatar Jessie says:
I might be able to help you troubleshoot this issue if you let me know what issue you ran into. I was able to get it set-up following the steps mentioned
Avatar Robert says:
Hello, something happend. Everything worked great, for 1 month, but now find the name of the music but don,t work. It seems like it’s buffering. Take 2-3 minutes until start plaing. What can i do?

Leave a Reply

Your email address will not be published. Required fields are marked *

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.