mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-20 15:20:33 -04:00
Complete the bifurcation of "list" and "comp"
This commit is contained in:
parent
379761ab7b
commit
df188c032c
7 changed files with 15 additions and 23 deletions
|
@ -16,7 +16,7 @@ function get_compilation(compid) {
|
|||
player.on('ended', function () {
|
||||
var url = new URL('https://example.com/embed/' + response.nextVideo);
|
||||
|
||||
url.searchParams.set('list', compid);
|
||||
url.searchParams.set('comp', compid);
|
||||
if (!compid.startsWith('RD'))
|
||||
url.searchParams.set('index', response.index);
|
||||
if (video_data.params.autoplay || video_data.params.continue_autoplay)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue