aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static
Commit message (Collapse)AuthorAgeFilesLines
* av-merge: call mediaSource.endOfStream() so player pauses at endJames Taylor2021-08-291-4/+35
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Integrate quality selection into PlyrJames Taylor2021-08-291-1/+89
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* avmerge: Fix errors if close is called twiceJames Taylor2021-08-291-0/+4
| | | | | | | | | | | This can happen if the quality is changed from an avmerge source to an integrated source, and then changed back to an avmerge source Close is called the first change, but on the last change, it's called again because the avMerge object is still present, resulting in InvalidStateError Signed-off-by: Jesús <heckyel@hyperbola.info>
* avmerge: Remove obsolete shouldFetchNextSegment functionJames Taylor2021-08-291-9/+0
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* avmerge: Close streams to avoid errors while changing qualityJames Taylor2021-08-291-8/+39
| | | | | | | | | | | | | 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>
* avmerge: Buffer 50 mb ahead in videoJames Taylor2021-08-291-14/+43
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add video quality selectorJames Taylor2021-08-291-55/+58
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add support for more qualities, merging video+audio using MSEJames Taylor2021-08-291-0/+445
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Revert "Add support for more qualities, merging video+audio using MSE"Jesús2021-08-291-445/+0
| | | | This reverts commit d56df02e7b1eba86baf511289208295b1f6c5a50.
* Add support for more qualities, merging video+audio using MSEJames Taylor2021-08-291-0/+445
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* [plyr]: minor fix syntaxJesús2021-08-091-1/+0
|
* [plyr]: updateJesús2021-08-095-3847/+3208
|
* [plyr]: Remove unimportant filesJesús2021-08-0911-40844/+0
|
* fix property css nameJesús2021-07-051-1/+1
|
* Remove `var` and fix transcript button jumping above autoplay on page loadJesús2021-07-041-19/+17
| | | | | | | | Obsolete code from #15 that was forgotten to be removed From ea34965be31dcf7e7e30c1edb9a9fa9d18fe6b30 Mon Sep 17 00:00:00 2001 From: James Taylor <user234683@users.noreply.github.com> Date: Sat, 3 Jul 2021 20:06:11 -0700
* autoplay-toggle: use label tagJesús2021-06-291-1/+0
| | | | | | from upstream: <label> is semantic and makes clicking the text activate in checkbox
* feat: autoplay related video - minor fix styleJesús2021-06-231-0/+1
|
* Fix set language subtitlesJesús2021-06-231-23/+0
|
* feat: autoplay for related videosUmimaso2021-06-231-0/+8
| | | | | | | | | | | 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>
* feat: add direct linkUmimaso2021-06-231-0/+6
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix styles dropdown option button in desktopJesús2021-06-141-0/+2
|
* Fix shared.css file style missingJesús2021-06-1411-66/+0
|
* Add plyr as main playerJesús2021-05-2217-0/+50203
| | | | Also plyr supports switch quality
* Add subscriptions exportJesús2021-05-061-1/+38
| | | | plus design by heckyel
* General theme: fix footer centerJesús2021-02-2711-11/+11
|
* General theme: reorganize thumbnail background variableJesús2021-01-269-6/+9
|
* General theme: improve colorsJesús2021-01-114-36/+40
|
* Light theme: improve colorsJesús2021-01-111-16/+16
|
* Grey theme: improve thumbnail backgroundJesús2021-01-091-1/+1
|
* General theme: improve thumbnail in channelJesús2021-01-081-0/+3
|
* General theme: improve thumbnail-imgJesús2021-01-079-28/+9
|
* General theme: Improve container descriptionJesús2021-01-011-0/+2
|
* General theme: Fix missing styles in paginationJesús2021-01-016-6/+12
|
* General theme: fix style paginatorJesús2021-01-014-12/+16
|
* General theme: remove unnecessary z-index propertyJesús2020-12-316-6/+0
|
* General theme: fix syntax W3C markup and add improve 'Published' dateJesús2020-12-301-2/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* strip_non_ascii in comments-author-nameJesús2020-12-301-1/+5
|
* General theme: add license and add URL source code in footerJesús2020-12-2913-0/+556
|
* Fix permalink styleJesús2020-12-221-1/+1
| | | | Fixed the link box overflow
* Fix permalink styleJesús2020-12-221-1/+1
| | | | Fixed the link box overflow
* Prevent text overflow in commentsJesús2020-12-211-1/+5
|
* Hotkeys.js: improve fullscreenJesús2020-12-161-2/+2
|
* Replace document.fullscreen for fullscreenElementJesús2020-12-161-1/+1
| | | | | | | | | | | This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. More info in https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen#Deprecated
* Hotkeys.js: Add muted 'm' keyJesús2020-12-151-0/+4
|
* Migration general theme: fix query video tagJesús2020-12-155-15/+16
|
* Migration general theme: add gap in subscriptionJesús2020-12-151-0/+1
|
* Migration general theme: fix missing message-box styleJesús2020-12-151-0/+12
|
* Change general design themeJesús2020-12-1414-185/+4764
|
* Merge branch 'master' into add_sponsorblockJames Taylor2020-10-213-340/+19
|\
| * remove trailing whitespaceszrose5842020-10-211-1/+1
| |