From e4af99fd178c39b584001fa1b7d6d62d88bc7a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 29 Aug 2021 18:48:01 -0500 Subject: Revert "Add support for more qualities, merging video+audio using MSE" This reverts commit d56df02e7b1eba86baf511289208295b1f6c5a50. --- youtube/templates/base.html | 2 +- youtube/templates/watch.html | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'youtube/templates') diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 4ab722d..89c53c0 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -3,7 +3,7 @@ - + {{ page_title }} diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 9d7a36c..2b19aeb 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -29,7 +29,7 @@ {% endif %} - {% elif (uni_sources.__len__() == 0 or live) and hls_formats.__len__() != 0 %} + {% elif (video_sources.__len__() == 0 or live) and hls_formats.__len__() != 0 %}
Copy a url into your video player:
    @@ -41,9 +41,9 @@ {% else %}
    - {% if pair_sources and (not uni_sources or pair_sources[pair_idx][0]['quality'] != uni_sources[uni_idx]['quality']) %} - - {% endif %} - {% if time_start != 0 %}