aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
Commit message (Collapse)AuthorAgeFilesLines
* licenses.html: updateJesús2021-08-291-6/+11
|
* Fix embed page broken due to changes to jinja variablesJames Taylor2021-08-291-3/+3
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* 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>
* fix missing data variableJesús2021-08-292-0/+15
|
* 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-292-5/+9
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Revert "Add support for more qualities, merging video+audio using MSE"Jesús2021-08-292-9/+5
| | | | This reverts commit d56df02e7b1eba86baf511289208295b1f6c5a50.
* Add support for more qualities, merging video+audio using MSEJames Taylor2021-08-292-5/+9
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* [frontend]: fix current versionJesús2021-08-271-2/+2
|
* [frontend]: improve current versionJesús2021-08-271-1/+1
|
* [embed]: minor fixJesús2021-08-141-1/+1
|
* [embed]: fix sha512sumJesús2021-08-141-38/+2
|
* [librejs]: add mising plyr-start.jsJesús2021-08-141-0/+5
|
* [Frontend]: fix macroJesús2021-08-141-7/+7
|
* [plyr]: updateJesús2021-08-091-38/+2
|
* Comments: Fix exceptions when ctoken metadata are missing (None)James Taylor2021-08-091-1/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* fix missing plyr on embedJesús2021-07-051-1/+64
|
* fix right click for videoJesús2021-07-051-0/+7
|
* Fix request search when is emptyJesús2021-07-041-1/+1
|
* Improved plyr configurationJesús2021-07-031-7/+15
|
* Change search url path to match the YouTube pathJames Taylor2021-07-012-3/+3
| | | | | | Fixes #67 Signed-off-by: Jesús <heckyel@hyperbola.info>
* w3c syntax, unnecessary role=buttonJesús2021-06-291-1/+1
|
* 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>
* Fix shared.css file style missingJesús2021-06-142-0/+6
|
* [error.html]: fix set styleJesús2021-06-141-3/+5
|
* Fix name appJesús2021-06-101-2/+2
|
* Capitalize name appJesús2021-06-101-1/+1
|
* update URL issuesJesús2021-06-101-1/+1
|
* Fix design error messageJesús2021-06-101-1/+9
|
* Use extract_approx_int for comment likesJames Taylor2021-06-101-1/+1
| | | | | | | | Full digits no longer available Closes #64 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Not force plyr as playerJesús2021-05-241-10/+15
|
* [licenses]: fix URL license ExpatJesús2021-05-221-1/+1
|
* Add plyr as main playerJesús2021-05-222-1/+15
| | | | Also plyr supports switch quality
* Add subscriptions exportJesús2021-05-062-6/+25
| | | | plus design by heckyel
* Add local playlist export optionJames Taylor2021-05-061-0/+14
| | | | | | Temporary workaround for #61 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add tooltip to video speed box to improve discoverabilityJames Taylor2021-04-131-1/+1
| | | | | | See #60 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Channel: Allow going to next pages of playlists pageJames Taylor2021-03-151-1/+6
| | | | | | | Uses previous and next buttons. Now can view more than just first page of playlists page Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix data comments 00ef1c862744ec00886bc3fa4b95fdfc6c151866Jesús2021-02-261-1/+1
|
* Fix comment repliesJames Taylor2021-02-261-8/+12
| | | | | | | | | | | | | Comment reply protobuf now requires the channel id of the uploader of the video. Otherwise the endpoint returns 500. Instead of making the protobuf ourselves and passing this data around through query parameters, just use the ctoken provided to us but modify the max_replies field from 10 to 250. Fixes #53 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix URLJesús2021-02-251-1/+1
|