aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js/common.js
Commit message (Collapse)AuthorAgeFilesLines
* Release v0.4.0 - HD Thumbnails, YouTube 2024+ Support, and yt-dlp Integrationv0.4.0Astounds6 hours1-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* copyTextToClipboard: support fullscreenzrose5842022-08-071-2/+3
|
* [frontend]: fix global scope, change var to letJesús2021-12-161-11/+13
|
* Migration general theme: fix query video tagJesús2020-12-151-6/+7
|
* comments.js: include error in reply html rather than using an alertJames Taylor2020-10-201-3/+1
|
* add 't' hotkeyzrose5842020-10-121-0/+59
|
* doXhr: check xhr.statuszrose5842020-10-091-1/+5
|
* add comments.jszrose5842020-10-071-1/+11
|
* Transcript table: Fix timestamps for videos longer than an hourJames Taylor2020-09-241-4/+13
| | | | See #15
* Transcript: For clarity, use more verbose names and add commentsJames Taylor2020-09-241-12/+12
|
* default to last textTrackzrose5842020-09-121-1/+10
|
* hotkeys.js: add 'c' for transcriptzrose5842020-09-111-0/+23