diff options
author | Mary <148872143+mary-ext@users.noreply.github.com> | 2024-04-28 12:11:08 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 22:11:08 -0700 |
commit | 74cd1d44581b9ad2224bdf69819ca6f6208e3266 (patch) | |
tree | 75f161dc75916176da1bb1bddb4295fb721b491e /__tests__ | |
parent | 21e5a87fabf277ebf637a7bd13d7bebd31494c9a (diff) | |
download | voidsky-74cd1d44581b9ad2224bdf69819ca6f6208e3266.tar.zst |
YouTube Music as supported player (#3736)
Diffstat (limited to '__tests__')
-rw-r--r-- | __tests__/lib/string.test.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/__tests__/lib/string.test.ts b/__tests__/lib/string.test.ts index 03d685249..2f603a521 100644 --- a/__tests__/lib/string.test.ts +++ b/__tests__/lib/string.test.ts @@ -396,6 +396,7 @@ describe('parseEmbedPlayerFromUrl', () => { 'https://youtube.com/watch?v=videoId&feature=share', 'https://youtube.com/shorts/videoId', 'https://m.youtube.com/watch?v=videoId', + 'https://music.youtube.com/watch?v=videoId', 'https://youtube.com/shorts/', 'https://youtube.com/', @@ -504,6 +505,11 @@ describe('parseEmbedPlayerFromUrl', () => { source: 'youtube', playerUri: 'https://bsky.app/iframe/youtube.html?videoId=videoId&start=0', }, + { + type: 'youtube_video', + source: 'youtube', + playerUri: 'https://bsky.app/iframe/youtube.html?videoId=videoId&start=0', + }, undefined, undefined, |