Frontend: Carry over audio-only mode in playlist links (#4784)

This commit is contained in:
syeopite committed 2025-01-22 11:35:33 -08:00
commit 831017f403
4 files changed
+16 -6

No files matched your search

+4
View File
@@ -67,6 +67,10 @@ function get_playlist(plid) {
'&format=html&hl=' + video_data.preferences.locale;
}
if (video_data.params.listen) {
plid_url += '&listen=1'
}
helpers.xhr('GET', plid_url, {retries: 5, entity_name: 'playlist'}, {
on200: function (response) {
playlist.innerHTML = response.playlistHtml;