summaryrefslogtreecommitdiffstats
path: root/assets/js (follow)
AgeCommit message (Collapse)Author
2025-02-26JS: Update timeupdate event defensive to prevent errors (#4782)syeopite
2025-02-26Frontend: Add a first page and previous page buttons for channel navigation ↵syeopite
(#4123)
2025-01-22Frontend: Carry over audio-only mode in playlist links (#4784)syeopite
2024-10-29Routes: Simplify actions in watch_ajaxSamantaz Fox
2024-10-29Routes: Simplify actions in token_ajaxSamantaz Fox
2024-10-29Routes: Simplify actions in subscription_ajaxSamantaz Fox
2024-10-29Routes: Simplify actions in playlist_ajaxSamantaz Fox
2024-10-08Preferences: Add option to control preloading of video data (#4122)Samantaz Fox
This PR adds a configuration option to control the preloading of video data on page load with the HTML5 'preload'[1] attribute on the `<video>` element. The option is enabled by default, meaning that the `preload` attribute's value will be 'auto'. If users want to prevent preloading of video data, they can disable the option, which will set the attribute value to 'none'. [1](https://www.w3schools.com/tags/att_video_preload.asp) Closes issue 4110
2024-08-07Carry over audio-only mode in playlist linksKrystof Pistek
2024-07-06JS: Update timeupdate event defensive to prevent errorsPMK
2024-06-15Player: Fix video playback for videos that have already been watched.Fijxu
Trying to watch an already watched video will make the video start 15 seconds before the end of the video. This is not very comfortable when listening to music or watching/listening playlists over and over.
2024-02-12API: Remove the fields parameter (#4276)Samantaz Fox
Multiple users have reported that the fields parameter is slowing down API response times significantly. As most API endpoints are already optimized to make as few requests as possible to Youtube, there is no point in limiting the output. Furthermore, the added processing might be part of the broader memory leak problem (See 1438). In addition, the small increase in data output is not much of an issue compared to the huge video proxy that lies next to this API. No related issue tracked
2023-12-06Player: Fix iOS screen timeout in loop mode (#4076)Samantaz Fox
2023-11-23Remove the 'fields' parameter on the client side tooSamantaz Fox
2023-11-09Seperated repetitive code in a functionRadoslavL
2023-11-08Fixed a typoRadoslavL
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2023-10-26Removed the purging of the query parametersRadoslavL
2023-10-21Frontend: Add video timestamp on external links (#4101)Samantaz Fox
2023-10-21JS: Update external links exactly once per secondSamantaz Fox
2023-10-20Fixed an issueRadoslavL
2023-09-30Actually add the pagination.js file (git didn't detect it the first time)RadoslavL
2023-09-27remove unused variableChunkyProgrammer
simplify resolve url remove trailing spaces Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-27JS: Fix missing domain in URL constructorSamantaz Fox
2023-09-27Don't redefine the "preload" option in player.jsThomas Lange
If the HTML5 "<video>" element defines the "preload" attribute directly, it isn't necessary to redefine the "preload" option in the player.js.
2023-09-26Add option to control preloading of video dataThomas Lange
Fix #4110 by adding an option to control the preloading of video data on page load. If disabled ("false"), the browser will not preload any video data until the user explicitly hits the "Play" button. If enabled ("true"), the default behavior will be used, which means the browser decides how much of the video will be preloaded.
2023-09-18Add support for post pageChunkyProgrammer
2023-09-17JS: Replace '.setAttribute("href")' with '.href'Samantaz Fox
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2023-09-16Frontend: Use 'timeupdate' event listener rather than setTimeout()Samantaz Fox
2023-09-14Frontend: Add timestamp on switch invidious instance linksSamantaz Fox
2023-09-14Frontend: Add timestamp on invidious embed linksSamantaz Fox
2023-09-14Frontend: Add timestamp on youtube+embed linksSamantaz Fox
2023-08-27Fix iOS screen timeout on video playback loop mode (more elegantly)Ming Kin Choi
2023-08-27Fix iOS screen timeout on video playback loop modeMing Kin Choi
2023-06-07Comments: Don't break JavaScript when loading moreChunky programmer
2023-04-10Improve accessibility (#3710)Samantaz Fox
2023-04-02implement code suggestionsChunkyProgrammer
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-03-31Handle auto theme correctly with the manual toggle (#3521)Samantaz Fox
2023-03-27improve accessibilityChunkyProgrammer
2023-02-19Fixed console errorWes van der Vleuten
2023-01-21Update assets/js/watched_widget.js with suggestion of AHOHNMYCWes van der Vleuten
Co-authored-by: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com>
2022-12-29handle auto theme correctly with the manual toggleshironeko
If the user used the manual toggle, they will not be able to get back to auto since it will force set to light theme. This should fix that.
2022-11-09CleanupWes van der Vleuten
2022-11-08Fixed watch indicator when position is not savedWes van der Vleuten
2022-11-08Removed console.logWes van der Vleuten
2022-11-08Fixed thumbnails with darkreader, Added watched indicator in more locationsWes van der Vleuten
2022-11-07Added watch indicatorWes van der Vleuten
2022-08-22Fix prefs cookies in player (#3276)Samantaz Fox
2022-07-25Fix updated sources not returned inside map funcÉmilien Devos
This fix the issue reported in https://github.com/iv-org/invidious/issues/2055#issuecomment-1192894698
2022-07-11Merge pull request #3162 from 138138138/138138138-audio-quality-1Samantaz Fox
2022-07-07Merge pull request #3158 from 138138138/138138138-mobileui-forward-rateSamantaz Fox