mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:26 -04:00
Frontend: Carry over audio-only mode in playlist links (#4784)
This commit is contained in:
commit
831017f403
4 changed files with 16 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue