aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/watch.html
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | add sponsorblock.jszrose5842020-10-171-6/+9
|/
* jinja: only include 'comments.js' if neededzrose5842020-10-091-2/+4
|
* replies: remove css borderzrose5842020-10-091-3/+0
|
* add comments.jszrose5842020-10-071-1/+17
|
* Fix video height not scaling down when browser window is narrowJames Taylor2020-10-011-17/+56
| | | | | | This solution still makes sure the video doesn't jump in height when it loads, and makes it so the video scales down properly in aspect ratio as the browser window is made narrower.