Open TheFrenchGhosty opened 5 years ago
This is a limitation of how playlists are provided by YouTube. It's easier to see when looking at the respective API endpoint.
Essentially, YouTube provides a random token on each request that can be used to get the next page of playlists. AFAIK, YouTube doesn't provide the previously used token, so it's not possible to go back without using controls provided by the browser.
That's because YouTube only supports infinite-scrolling without a offering "Next page" / "Previous page" link.
Why not simply add a new URL parameter then, e.g. previous=OLD_TOKEN
?
That's because YouTube only supports infinite-scrolling without a offering "Next page" / "Previous page" link. Why not simply add a new URL parameter then, e.g.
previous=OLD_TOKEN
?
If it's not possible just having a "first page" might also be better than having to go back in the channel and clicking playlists again
Why not simply add a new URL parameter then, e.g.
previous=OLD_TOKEN
?
Unfortunately this won't solve the problem, since the previous page won't be able to get the previous
for itself, if that makes sense. It'd be necessary to have a previous=OLD_TOKEN1,OLD_TOKEN2,...
.
I think having a "first page" link is probably the best option here. It may make sense to refactor this to use the same code as /community
since the implementation is extremely similar, although it wouldn't work without Javascript.
you could cache those tokens as cookies
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.
Still an issue.
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.
Still an issue
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.
There is no way to go back to the previous page of the playlists list. (this is the third and last page of the playlists of Linux Tech Tips)