aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/watch.html
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add some space between transcript button and related videosJames Taylor2020-09-251-12/+14
|
* Specify video height in html so page doesn't shift down after loadJames Taylor2020-09-241-2/+1
| | | | | Use true video height extracted from youtube to handle videos shorter than their quality size. (e.g. widescreen videos)
* Transcript: Add label for table view checkboxJames Taylor2020-09-241-0/+1
|
* Merge pull request #15 from zrose584/transcript_tableJames Taylor2020-09-241-0/+30
|\ | | | | Transcript table
| * style transcript divzrose5842020-09-151-2/+6
| |
| * transcript-table: show transcript as contiguous text by defaultzrose5842020-09-121-0/+1
| |
| * let jinja create the transcript <details> elementzrose5842020-09-121-0/+14
| |
| * add transcript-table.jszrose5842020-09-111-0/+9
| |
| * hotkeys.js: add 'c' for transcriptzrose5842020-09-111-0/+2
| |
* | Jump video to timestamp in description or commentsJames Taylor2020-09-181-1/+1
|/
* Add setting to enable/disable video hotkeysJames Taylor2020-09-091-7/+8
|
* add hotkeys.jszrose5842020-09-091-1/+3
|