aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/watch.html
Commit message (Collapse)AuthorAgeFilesLines
* Release v0.4.0 - HD Thumbnails, YouTube 2024+ Support, and yt-dlp Integrationv0.4.0Astounds9 hours1-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major Features: - HD video thumbnails (hq720.jpg) with automatic fallback to lower qualities - HD channel avatars (240x240 instead of 88x88) - YouTube 2024+ lockupViewModel support for channel playlists - youtubei/v1/browse API integration for channel playlist tabs - yt-dlp integration for multi-language audio and subtitles Bug Fixes: - Fixed undefined `abort` import in playlist.py - Fixed undefined functions in proto.py (encode_varint, bytes_to_hex, succinct_encode) - Fixed missing `traceback` import in proto_debug.py - Fixed blurry playlist thumbnails using default.jpg instead of HD versions - Fixed channel playlists page using deprecated pbj=1 format Improvements: - Automatic thumbnail fallback system (hq720 → sddefault → hqdefault → mqdefault → default) - JavaScript thumbnail_fallback() handler for 404 errors - Better thumbnail quality across all pages (watch, channel, playlist, subscriptions) - Consistent HD avatar display for all channel items - Settings system automatically adds new settings without breaking user config Files Modified: - youtube/watch.py - HD thumbnails for related videos and playlist items - youtube/channel.py - HD thumbnails for channel playlists, youtubei API integration - youtube/playlist.py - HD thumbnails, fixed abort import - youtube/util.py - HD thumbnail URLs, avatar HD upgrade, prefix_url improvements - youtube/comments.py - HD video thumbnail - youtube/subscriptions.py - HD thumbnails, fixed abort import - youtube/yt_data_extract/common.py - lockupViewModel support, extract_lockup_view_model_info() - youtube/yt_data_extract/everything_else.py - HD playlist thumbnails - youtube/proto.py - Fixed undefined function references - youtube/proto_debug.py - Added traceback import - youtube/static/js/common.js - thumbnail_fallback() handler - youtube/templates/*.html - Added onerror handlers for thumbnail fallback - youtube/version.py - Bump to v0.4.0 Technical Details: - All thumbnail URLs now use hq720.jpg (1280x720) when available - Fallback handled client-side via JavaScript onerror handler - Server-side avatar upgrade via regex in util.prefix_url() - lockupViewModel parser extracts contentType, metadata, and first_video_id - Channel playlist tabs now use youtubei/v1/browse instead of deprecated pbj=1 - Settings version system ensures backward compatibility
* Refactor styles on video playback pageAstound2024-01-291-7/+1
| | | | | | | | | Made changes to the styles on the video playback page to enhance visibility and address issues with the video player. Added a new custom style file for Plyr, and removed redundant and unused styles in watch.css. Specific changes: - Added custom_plyr.css for Plyr styles. - Removed redundant styles related to playback issues in watch.css
* Revert update plyr0.2.7Astound2024-01-281-1/+1
|
* update plyrAstound2024-01-221-1/+1
|
* Add setting to autoplay videosAstound2024-01-221-1/+1
|
* Fix comment count extraction due to 'K/M' postfixesAstound2024-01-221-1/+1
| | | | YouTube now displays 2K comments instead of 2359, for instance
* Fix music list extractionJesus E2023-05-281-1/+5
| | | | Closes #160
* Fix missing id into input tagJesús2022-10-051-2/+2
|
* Fix self closing tag w3c issuesJesús2022-10-051-3/+3
|
* Disable download by RIAA issuesJesús2022-10-051-0/+4
| | | | | Ref: https://torrentfreak.com/riaa-thwarts-youts-attempt-to-declare-youtube-ripping-legal-221002/ Archive: https://archive.ph/OZQbN
* Revert update plyrJesús2022-05-301-1/+1
| | | | | because iceweasel not support engine v8+ More info: https://repo.palemoon.org/MoonchildProductions/UXP/issues/1675
* [embed]: Fix undefined storyboard_url and add licenseJesús2022-02-211-1/+5
|
* Update plyr moduleJesús2022-02-111-1/+1
|
* add preview thumbnailszrose5842022-01-091-0/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Disable dislikesJesús2021-12-261-1/+1
| | | | Ref: https://blog.youtube/news-and-events/update-to-youtube/
* improve quality-selectJesús2021-09-141-8/+10
|
* Redo av codec settings & selections to accomodate webmJames Taylor2021-09-061-1/+1
| | | | | | | | | | | | | | Allows for ranked preferences for h264, av1, and vp9 codecs in settings, along with equal preferences which are tiebroken using smaller file size. For each quality, gives av-merge a list of video sources and audio sources sorted based on preference & file size. It will pick the first one that the browser supports. Closes #84 Signed-off-by: Jesús <heckyel@hyperbola.info>
* plyr: remove sourceMappingURL=plyr.min.js.mapJesús2021-08-311-1/+1
|
* watch.html: Move loose inline javascript into watch.jsJesús2021-08-291-215/+4
| | | | | | | | The number of inline code blocks and the dependencies between them became unmanageable. From 9d96c07a3c2e68f1893634574c3be64e41a2c041 Mon Sep 17 00:00:00 2001 From: James Taylor <user234683@users.noreply.github.com>
* Prevent Firefox from remembering quality select on page refreshJames Taylor2021-08-291-1/+1
| | | | | | | | | The video quality is only changed when the quality selector changes. If it was changed and the user refreshes, Firefox remembers the selected value, but since no change event is fired, the select will display the wrong quality. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Integrate quality selection into PlyrJames Taylor2021-08-291-28/+26
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* avmerge: Close streams to avoid errors while changing qualityJames Taylor2021-08-291-0/+2
| | | | | | | | | | | | | If a fetchRange network request finished after the quality was changed, there would be a "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" because appendSegment was trying to append to the sourceBuffer that was unusable after the video src was changed to a new mediaSource. Adds a close method to the AVMerge class to properly clean and close everything so these sorts of errors won't happen. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add video quality selectorJames Taylor2021-08-291-3/+45
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add support for more qualities, merging video+audio using MSEJames Taylor2021-08-291-4/+8
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Revert "Add support for more qualities, merging video+audio using MSE"Jesús2021-08-291-8/+4
| | | | This reverts commit d56df02e7b1eba86baf511289208295b1f6c5a50.
* Add support for more qualities, merging video+audio using MSEJames Taylor2021-08-291-4/+8
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* [plyr]: updateJesús2021-08-091-38/+2
|
* fix right click for videoJesús2021-07-051-0/+7
|
* Improved plyr configurationJesús2021-07-031-7/+15
|
* autoplay-toggle: use label tagJesús2021-06-291-7/+24
| | | | | | from upstream: <label> is semantic and makes clicking the text activate in checkbox
* fix settings.subtitles_mode in plyrJesús2021-06-231-0/+4
|
* fix name id of videoJesús2021-06-231-1/+1
|
* Fix set language subtitlesJesús2021-06-231-1/+25
|
* usage `let` not `var`Jesús2021-06-231-17/+17
|
* feat: autoplay for related videosUmimaso2021-06-231-118/+144
| | | | | | | | | | | Add autoplay support for related videos. Move the playlist autoplay code into this shared script. Add the SameSite=Strict attribute to the autoplay cookie due to Firefox soon rejecting cookies which use SameSite=None without the secure attribute. Closes: #50 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Open direct link in new tabJesús2021-06-231-1/+1
|
* feat: add direct linkUmimaso2021-06-231-0/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Not force plyr as playerJesús2021-05-241-10/+15
|
* Add plyr as main playerJesús2021-05-221-1/+10
| | | | Also plyr supports switch quality
* Add tooltip to video speed box to improve discoverabilityJames Taylor2021-04-131-1/+1
| | | | | | See #60 Signed-off-by: Jesús <heckyel@hyperbola.info>
* General theme: fix syntax W3C markup and add improve 'Published' dateJesús2020-12-301-1/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* General theme: Add license to missing script in watch.htmlJesús2020-12-291-1/+5
|
* General theme: add license and add URL source code in footerJesús2020-12-291-15/+5
|
* Migration general theme: fix video player method in javascriptJesús2020-12-151-1/+1
|
* Migration general theme: fix missing message-box styleJesús2020-12-151-1/+2
|
* Change general design themeJesús2020-12-141-634/+271
|
* Add box to enter custom video speedJames Taylor2020-11-301-4/+33
|
* Merge branch 'master' into add_sponsorblockJames Taylor2020-10-211-12/+0
|\
| * Move comment.js reply button styling to comments.cssJames Taylor2020-10-201-12/+0
| | | | | | | | So that the style will also be present on the /comments pages
* | proxy 'sponsor.ajay.app'zrose5842020-10-181-0/+1
| |