Commit graph

4736 commits

Author SHA1 Message Date
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
Samantaz Fox
bb14f79496
Playlists: Use subtitle when author is missing (#4025) 2023-09-18 23:34:30 +02:00
Samantaz Fox
bf35200207
Bump stale timer for PRs (#4107) 2023-09-18 23:33:34 +02:00
Samantaz Fox
98ff03a926
CI: Update crystal version matrix (#4095) 2023-09-18 23:32:42 +02:00
Samantaz Fox
842e9fade5
Captions: Add ability to use Innertube's transcripts API (#4001) 2023-09-18 23:31:56 +02:00
syeopite
760bf4cfb3
Bump stale timer for PRs 2023-09-16 23:22:49 +00:00
Samantaz Fox
bbf067ed55
Bump crystal-install too 2023-09-16 11:55:45 +02:00
Samantaz Fox
33ce0ddf14
Update crystal version matrix in ci.yml 2023-09-16 11:55:42 +02:00
Émilien (perso)
cc03610325
Test crystal 1.8.2 2023-09-16 09:10:48 +00: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
eabcea6f4a
Remove trailing whitespace in config documentation
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-29 06:18:35 +00:00
Samantaz Fox
ac0c0609bb
Add workaround for storyboards on local instances (#4040) 2023-08-26 12:15:04 +02:00
Samantaz Fox
7e84d07c27
Playlist import no refresh (#3973) 2023-08-26 12:12:42 +02:00
Samantaz Fox
a8295b452e
Search: Add hashtag result (#3989) 2023-08-26 12:11:38 +02:00
Samantaz Fox
95176a8eb4
Translations update from Hosted Weblate (#3977) 2023-08-26 12:11:02 +02:00
Samantaz Fox
1377f2ce7d
Revert broken i18next v3 changes made by weblate 2023-08-25 08:24:25 +02:00
syeopite
3615bb0e62
Update src/invidious/videos/caption.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-24 16:21:05 -07:00
syeopite
7d435f082b
Update src/invidious/videos/transcript.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-24 23:20:20 +00: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
Snwglb
23b19c80b3
Update Hindi translation 2023-08-21 02:56:21 +02:00
Ettore Atalan
387f057a96
Update German translation 2023-08-21 02:56:21 +02:00
Snwglb
ce44cb9421
Update Hindi translation 2023-08-19 10:08:18 +02:00
Petter Reinholdtsen
de2ea47854
Update Norwegian Bokmål translation 2023-08-14 14:52:54 +02:00
Noa Laznik
4b85890c6d
Update Slovenian translation 2023-08-12 04:53:16 +02:00
Ati
37f1a6aacf
Update Slovak translation 2023-08-10 21:53:28 +02:00
Milan Šalka
c089d57cdb
Update Slovak translation 2023-08-10 21:53:28 +02:00
syeopite
2b36d3b419
Update errors.cr 2023-08-10 18:45:10 +00:00
syeopite
6b17bb5250
Regression from #4037 | Fix storyboards
PR #4037 introduced a workaround around YouTube's new integrity checks
on streaming URLs. However, the usage of this workaround prevents
storyboard data from being returned by InnerTube.

This commit fixes that by only using the workaround when calling try_fetch_streaming_data
2023-08-08 15:28:01 -07:00
syeopite
a81c0f329c
Add workaround for storyboards on priv. instances
An upstream problem with videojs-vtt-thumbnails means that URLs gets
joined incorrectly on any instance where `domain`, `external_port` and
`https_only` aren't set.

This commit adds some logic with the 404 handler to mitigate this
problem. This is however only a workaround.

See:
https://github.com/iv-org/invidious/issues/3117
https://github.com/chrisboustead/videojs-vtt-thumbnails/issues/31
2023-08-08 15:13:23 -07:00
Damjan Gerl
709bb7281b
Update Slovenian translation 2023-08-07 21:29:48 +02:00
Leonardo Colman
3123478cb2
Update Portuguese translation 2023-08-07 21:29:48 +02:00
Hoang Minh Pham
ebb69ee4fd
Update Vietnamese translation 2023-08-07 21:29:48 +02:00
Leonardo Colman
00ac29a2ba
Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00
Eric
9715e96adb
Update Chinese (Simplified) translation 2023-08-07 21:29:48 +02:00
random r
1e170ef7d0
Update Italian translation 2023-08-07 21:29:48 +02:00
atilluF
b4e9f173ab
Update Italian translation 2023-08-07 21:29:48 +02:00
John Donne
2117e34e97
Update French translation 2023-08-07 21:29:48 +02:00
Overplant Poster
a5bcf9ba44
Update Sinhala translation 2023-08-07 21:29:48 +02:00
Subham Jena
8a88e51382
Update Odia translation 2023-08-07 21:29:48 +02:00
Fjuro
7bf3f08daf
Update Czech translation 2023-08-07 21:29:48 +02:00
Milo Ivir
b41574481d
Update Croatian translation 2023-08-07 21:29:48 +02:00
joaooliva
b6b364c730
Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00
maboroshin
991d30066d
Update Japanese translation 2023-08-07 21:29:48 +02:00
VoidWalker
d83f92a074
Update Russian translation 2023-08-07 21:29:48 +02:00
Jeff Huang
6d0a6870cb
Update Chinese (Traditional) translation 2023-08-07 21:29:48 +02:00
Nidi
979168d8de
Add Azerbaijani translation 2023-08-07 21:29:48 +02:00
xrfmkrh
a337150cbf
Update Korean translation 2023-08-07 21:29:48 +02:00
maboroshin
b7f6c265f7
Update Japanese translation 2023-08-07 21:29:48 +02:00