Commit Graph

5264 Commits

Author SHA1 Message Date
Samantaz Fox 47cc9dc169
JS: Fix missing domain in URL constructor 2023-09-27 23:03:24 +02: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
RadoslavL ea781ceeee Removed unnecessary lines 2023-09-24 10:08:16 +03:00
syeopite be2feba17c
Lint 2023-09-23 09:57:26 -04:00
syeopite a999438ae4
Consistency: rename #add_timestamp_component
Removes the add_ prefix for consistency with the other methods in
WebVTT::Builder
2023-09-23 09:41:43 -04:00
syeopite e9d59a6dfd
Update src/invidious/helpers/webvtt.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-09-23 09:41:43 -04:00
syeopite 4e97d8ad09
Update documentation for `WebVTT.build` 2023-09-23 09:41:43 -04:00
syeopite d371eb50f2
WebVTT::Builder: rename #line to #cue 2023-09-23 09:41:41 -04:00
syeopite 0cb7d0b441
Refactor Invidious's VTT logic to use WebVtt.build 2023-09-23 09:40:04 -04:00
syeopite 54fa59cbb0
Add method to construct WebVTT files
Similar to JSON.Build
2023-09-23 09:20:20 -04:00
RadoslavL 8542c974c8
Merge branch 'iv-org:master' into dark-mode-contrast 2023-09-22 11:01:38 +03:00
RadoslavL e8c9b85ef5 Increased footer contrast 2023-09-19 09:15:44 +03: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 f55b96a53b Always craft Community Post params 2023-09-18 20:10:41 -04:00
ChunkyProgrammer 734f1b7764 Simplify resolveUrl api call
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 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
RadoslavL 270d606ad8 Changed the default dark theme as well 2023-09-18 08:14:34 +03:00
Samantaz Fox 700c57559b
JS: Replace '.setAttribute("href")' with '.href'
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2023-09-17 10:21:11 +00: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
Samantaz Fox ebee973b24
Routes: Redirect unknown channel tabs to channel home page 2023-09-16 00:54:14 +02:00
Samantaz Fox 06b2a4ba9d
Frontend: Use 'timeupdate' event listener rather than setTimeout() 2023-09-16 00:41:46 +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
RadoslavL beec62cf0e Increased link contrast in dark mode 2023-09-14 20:37:35 +03:00
Samantaz Fox 2425c47882
Routing: Add support for the '/live/<id>' route 2023-09-13 23:41:31 +02:00
Samantaz Fox 49b9316b9f
Routing: Handle current and future routes more nicely 2023-09-13 23:40:20 +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 eabcea6f4a
Remove trailing whitespace in config documentation
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-29 06:18:35 +00:00
Ming Kin Choi 27d8fa112d
Fix iOS screen timeout on video playback loop mode (more elegantly) 2023-08-27 14:11:45 +08:00
Ming Kin Choi 2a092577c6
Fix iOS screen timeout on video playback loop mode 2023-08-27 12:50:36 +08: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