mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Don't filter sources for audio-only
This commit is contained in:
parent
6f0e2365de
commit
99d299d62a
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,7 @@ function toggle_comments(target) {
|
|||
}
|
||||
};
|
||||
|
||||
<% if !listen %>
|
||||
var currentSources = player.currentSources();
|
||||
for ( var i = 0; i < currentSources.length; i++ ) {
|
||||
if (player.canPlayType(currentSources[i]["type"].split(";")[0]) === "") {
|
||||
|
@ -112,6 +113,7 @@ for ( var i = 0; i < currentSources.length; i++ ) {
|
|||
}
|
||||
|
||||
player.src(currentSources);
|
||||
<% end %>
|
||||
</script>
|
||||
|
||||
<div class="h-box">
|
||||
|
|
Loading…
Reference in a new issue