Skip to content

Commit

Permalink
Now player can search on m.youtube.com (#1891) (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
takejohn authored Apr 1, 2024
1 parent a3d3d5b commit 038c2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord-player/src/utils/QueryResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const youtubeVideoIdRegex = /^[a-zA-Z0-9-_]{11}$/;
// #endregion scary things above *sigh*

const DomainsMap = {
YouTube: ['youtube.com', 'youtu.be', 'music.youtube.com', 'gaming.youtube.com', 'www.youtube.com'],
YouTube: ['youtube.com', 'youtu.be', 'music.youtube.com', 'gaming.youtube.com', 'www.youtube.com', 'm.youtube.com'],
Spotify: ['open.spotify.com', 'embed.spotify.com'],
Vimeo: ['vimeo.com', 'player.vimeo.com'],
ReverbNation: ['reverbnation.com'],
Expand Down

0 comments on commit 038c2fe

Please sign in to comment.