mirror of
https://github.com/iv-org/invidious.git
synced 2026-02-17 17:48:32 -06:00
Compare commits
3 Commits
v2.2026020
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7f8b15b21 | ||
|
|
60c31e3069 | ||
|
|
11db343cfb |
@ -1,5 +1,7 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## vX.Y.0 (future)
|
||||||
|
|
||||||
## v2.20260207.0
|
## v2.20260207.0
|
||||||
|
|
||||||
### Wrap-up
|
### Wrap-up
|
||||||
|
|||||||
@ -166,6 +166,12 @@ player.on('timeupdate', function () {
|
|||||||
let base_url_iv_other = elem_iv_other.getAttribute('data-base-url');
|
let base_url_iv_other = elem_iv_other.getAttribute('data-base-url');
|
||||||
elem_iv_other.href = addCurrentTimeToURL(base_url_iv_other, domain);
|
elem_iv_other.href = addCurrentTimeToURL(base_url_iv_other, domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let elem_iv_listen = document.getElementById('link-iv-listen');
|
||||||
|
if (elem_iv_listen) {
|
||||||
|
let base_url_iv_listen = elem_iv_listen.getAttribute('data-base-url');
|
||||||
|
elem_iv_listen.href = addCurrentTimeToURL(base_url_iv_listen, domain);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: invidious
|
name: invidious
|
||||||
version: 2.20260207.0
|
version: 2.20260207.0-dev
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Invidious team <contact@invidious.io>
|
- Invidious team <contact@invidious.io>
|
||||||
|
|||||||
@ -48,9 +48,7 @@ FEATURE_FILTERS = {
|
|||||||
|
|
||||||
SORT_FILTERS = {
|
SORT_FILTERS = {
|
||||||
Invidious::Search::Filters::Sort::Relevance => "8AEB",
|
Invidious::Search::Filters::Sort::Relevance => "8AEB",
|
||||||
Invidious::Search::Filters::Sort::Date => "CALwAQE%3D",
|
|
||||||
Invidious::Search::Filters::Sort::Views => "CAPwAQE%3D",
|
Invidious::Search::Filters::Sort::Views => "CAPwAQE%3D",
|
||||||
Invidious::Search::Filters::Sort::Rating => "CAHwAQE%3D",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Spectator.describe Invidious::Search::Filters do
|
Spectator.describe Invidious::Search::Filters do
|
||||||
|
|||||||
@ -57,8 +57,6 @@ module Invidious::Search
|
|||||||
# Values correspond to { "1:varint": <X> }
|
# Values correspond to { "1:varint": <X> }
|
||||||
enum Sort
|
enum Sort
|
||||||
Relevance = 0
|
Relevance = 0
|
||||||
Rating = 1
|
|
||||||
Date = 2
|
|
||||||
Views = 3
|
Views = 3
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -79,11 +79,11 @@ we're going to need to do it here in order to allow for translations.
|
|||||||
<h1>
|
<h1>
|
||||||
<%= title %>
|
<%= title %>
|
||||||
<% if params.listen %>
|
<% if params.listen %>
|
||||||
<a title="<%=translate(locale, "Video mode")%>" href="/watch?<%= env.params.query %>&listen=0">
|
<a title="<%=translate(locale, "Video mode")%>" id="link-iv-listen" data-base-url="/watch?<%= env.params.query %>&listen=0" href="/watch?<%= env.params.query %>&listen=0">
|
||||||
<i class="icon ion-ios-videocam"></i>
|
<i class="icon ion-ios-videocam"></i>
|
||||||
</a>
|
</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<a title="<%=translate(locale, "Audio mode")%>" href="/watch?<%= env.params.query %>&listen=1">
|
<a title="<%=translate(locale, "Audio mode")%>" id="link-iv-listen" data-base-url="/watch?<%= env.params.query %>&listen=1" href="/watch?<%= env.params.query %>&listen=1">
|
||||||
<i class="icon ion-md-headset"></i>
|
<i class="icon ion-md-headset"></i>
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user