mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
commit
7060c67328
3 changed files with 104 additions and 6 deletions
|
@ -950,7 +950,7 @@ def produce_playlist_url(ucid, index)
|
|||
return url
|
||||
end
|
||||
|
||||
def produce_videos_url(ucid, page)
|
||||
def produce_videos_url(ucid, page = 1)
|
||||
page = "#{page}"
|
||||
|
||||
meta = "\x12\x06videos \x00\x30\x02\x38\x01\x60\x01\x6a\x00\x7a"
|
||||
|
|
|
@ -2,7 +2,17 @@
|
|||
<title><%= author %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<h1><%= author %></h1>
|
||||
<div class="pure-g" style="padding:1em;">
|
||||
<div class="pure-u-2-3">
|
||||
<h3><%= author %></h3>
|
||||
</div>
|
||||
<div class="pure-u-1-3" style="text-align:right;">
|
||||
<h3>
|
||||
<a href="/feed/channel/<%= ucid %>"><i class="fas fa-rss-square"></i></a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if user %>
|
||||
<% if subscriptions.includes? ucid %>
|
||||
<p>
|
||||
|
@ -24,6 +34,7 @@
|
|||
</a>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% videos.each_slice(4) do |slice| %>
|
||||
<div class="pure-g">
|
||||
<% slice.each do |video| %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue