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
Samantaz Fox
da70c9b7b0
Ameba: Miscellaneous fixes ( #4807 )
...
End of a series of PRs meant to improve code quality.
Related to issue 2231
2024-08-24 19:42:10 +02:00
Samantaz Fox
febf18cbf7
UI: Add search button to search bar ( #4706 )
...
Closes issue 529
2024-08-24 19:38:48 +02:00
syeopite
f66068976e
Ameba: Fix Naming/PredicateName
2024-08-21 02:43:08 -07:00
Samantaz Fox
80ffc442f2
HTML: Add rel="noreferrer noopener" to external links ( #4667 )
...
Note: Does not add rel="noreferrer noopener" to:
* links in channel description
* links in video descriptions
* links in video comments
Related to issue 4267
2024-08-11 13:35:57 +02:00
Samantaz Fox
8b1da2001e
Preferences: Fix handling of modified source code URL( #4437 )
...
Before this PR, setting the modified code repo URL through the preferences
page in Invidious was broken:
* the HTML input tag for this field had invalid type "input"
(though browser falls back on text input)
* the URL was used to set the "checked" property and not as a plain value,
which makes no sense for a text-based input (and resulted in a blank field)
* when the submitted field is empty, the retrieved value was an empty 'String'
instead of 'nil', causing the "modified source code URL" to be an empty
'href' link which just pointed to the current page
No associated open issue
2024-07-21 17:23:48 +02:00
thansk
1ce2d10c50
fix: use ion icon for search icon
2024-05-20 14:17:30 +00:00
thansk
5abafb8296
fix: use a search icon instead of text
2024-05-20 11:49:56 +00:00
thansk
9cd2e93a2e
feat: allow submitting search with mouse
2024-05-19 11:46:55 +00:00
ulmemxpoc
c4fec89a9b
Apply suggestions from code review
2024-05-10 11:23:11 -07:00
Fijxu
9d66676f2d
Use full URL in the og:image property.
2024-05-01 22:21:18 -04:00
ulmemxpoc
f696f96824
Add rel="noreferrer noopener" to external links
2024-04-30 03:40:19 +00:00
nooptek
499aed37dd
Fix handling of modified source code URL setting
2024-03-10 17:51:29 +01:00
Samantaz Fox
e0ce59d3e8
Channels: Add support for multi-image community posts ( #4412 )
...
This PR adds a CSS-only image carousel for community posts with more than
one image attached.
Closes issue 3522
2024-02-19 00:16:17 +01:00
Samantaz Fox
c5a3112e49
CSS: expand #contents width on small screens ( #4405 )
...
The #contents div now takes the full width on small screens (< 1280px).
All page elements have a little more room, especially the video titles.
2024-02-19 00:16:17 +01:00
ChunkyProgrammer
ef6b766b29
Add support for multi image community posts
2024-02-15 21:45:21 -05:00
Samantaz Fox
f32764c840
HTML: Preserve playlist in "Watch on YouTube" link ( #4342 )
...
It seems that at some point, Youtube changed the URL parameter from `plid`
to `list` and we didn't notice. This fixes that.
Closes #3929
2024-02-12 22:23:44 +01:00
Samantaz Fox
d30dae43fe
HTML: Add title to toggle theme icon ( #4320 )
2024-02-12 22:20:14 +01:00
toabr
4a339df5c4
CSS: expand #contents width on small screens
2024-01-27 00:38:47 +01:00
guidiasz
87a8207f37
fix: "Watch on YouTube" preserve current playlist
2023-12-18 13:23:55 -03:00
ChunkyProgrammer
fe8b1b4cc4
Add title to toggle theme icon
2023-12-07 11:43:56 -05:00
ChunkyProgrammer
f1edb1d6bf
fix related video author when id is empty
2023-12-07 09:39:33 -05:00
Chunky programmer
b5f8b4542a
Search: Don't error if AuthorId does not exist
2023-12-07 09:39:33 -05:00
Samantaz Fox
2414e7db41
User: Add support for importing Youtube watch history ( #4171 )
2023-10-21 18:33:05 +02:00
Samantaz Fox
2a65b5f52e
Frontend: Add video timestamp on external links ( #4101 )
2023-10-21 18:31:42 +02:00
Ulysses Zhan
b9cbdce976
add: importing watch history from YouTube
2023-10-14 15:49:33 -07:00
Samantaz Fox
60fae015d8
Add support for community post page/comments ( #4010 )
2023-10-07 19:58:54 +02:00
ChunkyProgrammer
f77e4378fe
Add support for viewing comments without js
...
Improve stylings
2023-09-28 18:09:45 -04:00
Thomas Lange
824cc1a5aa
Don't redefine the "preload" option in player.js
...
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-27 15:36:40 +02:00
Thomas Lange
bf470704a5
Add option to control preloading of video data
...
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-26 22:21:12 +02:00
ChunkyProgrammer
8781520b8a
Search: Parse channel handle and hide video count when channel handle exists
...
Co-Authored-By: Samantaz Fox <coding@samantaz.fr >
2023-09-18 20:12:07 -04:00
ChunkyProgrammer
bb04bcc42c
Apply suggestions from code review
...
add videoId to resolve_url function
Co-Authored-By: Samantaz Fox <coding@samantaz.fr >
2023-09-18 20:10:41 -04:00
ChunkyProgrammer
e3c365f3d6
Add support for post page
2023-09-18 20:10:41 -04:00
Samantaz Fox
bb14f79496
Playlists: Use subtitle when author is missing ( #4025 )
2023-09-18 23:34:30 +02:00
Samantaz Fox
842e9fade5
Captions: Add ability to use Innertube's transcripts API ( #4001 )
2023-09-18 23:31:56 +02:00
Samantaz Fox
58f4a012b7
Frontend: Add timestamp on switch invidious instance links
2023-09-14 22:28:07 +02:00
Samantaz Fox
2456b62936
Frontend: Add timestamp on invidious embed links
2023-09-14 22:27:36 +02:00
Samantaz Fox
792a999386
Frontend: Add timestamp on youtube+embed links
2023-09-14 22:26:36 +02:00
ChunkyProgrammer
afb04c3bda
HTMLl.Escape the playlist subtitle
2023-09-11 22:35:58 -04:00
ChunkyProgrammer
d7696574f4
Playlist: Use subtitle when author is missing
2023-09-11 22:35:57 -04:00
syeopite
1f7592e599
Refactor structure of caption.cr
...
Rename CaptionsMetadata to Metadata
Nest Metadata under Captions
Unnest LANGUAGES constant from Metadata to main Captions module
2023-08-24 16:00:02 -07:00
syeopite
7e5935a9da
Rename Caption struct to CaptionMetadata
...
The Caption object does not actually store any text lines for the
subtitles. Instead it stores the metadata needed to display and fetch
the actual captions from the YT timedtext API.
Therefore it may be wiser to rename the struct to be more reflective of
its current usage as well as the future usage once the current caption
retrival system is replaced via InnerTube's transcript API
2023-07-23 14:40:08 -07:00
Samantaz Fox
f38d1f33b1
HTML: Add UI element for 'SearchHashtag' in item.ecr
2023-07-18 00:01:16 +02:00
Samantaz Fox
c8ade5194b
UI: Nicer buttons ( #3763 )
2023-07-16 17:36:35 +02:00
Samantaz Fox
05cc503391
Fix lint
2023-07-15 12:57:26 +00:00
ChunkyProgrammer
f2fa3da9d2
Add support for releases and podcasts tabs
2023-07-14 16:15:20 -07:00
Samantaz Fox
9b75f79fb5
HTML/CSS: Add thumbnail placeholder in thin mode
...
This change is required to make the overlay buttons functional
(add to and delete from playlist, mark as watched, etc.)
2023-07-08 21:33:59 +02:00
Samantaz Fox
c17404890c
HTML: Use the new pagination component for history/subscriptions
2023-07-08 20:48:37 +02:00
Samantaz Fox
06b2bab795
HTML: Fix thumbnails of related videos (watch page)
2023-07-08 20:48:37 +02:00
Samantaz Fox
411208bbd2
HTML: Reorder buttons on the channel and watch pages
2023-07-08 20:48:36 +02:00