invidious/assets/js
Samantaz Fox 82ac9a8609
Preferences: Add option to control preloading of video data (#4122)
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-10-08 17:38:06 +02:00
..
_helpers.js implement code suggestions 2023-04-02 16:31:59 -04:00
comments.js remove unused variable 2023-09-27 17:36:06 -04:00
community.js JS. Trailing spaces removed 2022-06-05 20:54:48 +03:00
embed.js js code rewrite. Created _helpers.js with XHR and storage wrapper 2022-05-06 04:46:59 +03:00
handlers.js improve accessibility 2023-03-27 22:56:29 -04:00
notifications.js Remove the 'fields' parameter on the client side too 2023-11-23 18:30:42 +01:00
player.js Preferences: Add option to control preloading of video data (#4122) 2024-10-08 17:38:06 +02:00
playlist_widget.js handled invalid values in storage 2022-05-21 13:35:41 +03:00
post.js Add support for post page 2023-09-18 20:10:41 -04:00
silvermine-videojs-quality-selector.min.js Bump videojs to 7.12.1 (#3011) 2022-04-22 22:37:45 +02:00
sse.js
subscribe_widget.js js code rewrite. Created _helpers.js with XHR and storage wrapper 2022-05-06 04:46:59 +03:00
themes.js handle auto theme correctly with the manual toggle 2022-12-29 14:41:17 -05:00
videojs-youtube-annotations.min.js
watch.js Add support for post page 2023-09-18 20:10:41 -04:00
watched_indicator.js Fixed console error 2023-02-19 20:41:18 +01:00
watched_widget.js Fixed console error 2023-02-19 20:41:18 +01:00