Chocobozzz
109bff4bf7
Better audio file handling
2024-02-28 10:46:20 +01:00
Chocobozzz
568726e48d
Fix broken player on broken video
2024-02-28 10:02:49 +01:00
Chocobozzz
9808b179a5
Faster player ratio change on video update
2024-02-28 08:42:36 +01:00
Chocobozzz
dfe98695d6
Use server video ratio if available
2024-02-27 16:24:48 +01:00
Chocobozzz
c4a062109d
Fallback HLS failure to web video player
2024-02-23 15:21:29 +01:00
Chocobozzz
9e2700b89d
Fix lint
2024-02-22 10:32:28 +01:00
Chocobozzz
c97b8fd2ea
Add caption button to player control bar
2024-02-19 16:14:29 +01:00
Chocobozzz
d1adcfadfd
Update angular to v17
2024-01-05 10:47:14 +01:00
Chocobozzz
0a53a54ed7
Merge branch 'release/6.0.0' into develop
2024-01-03 15:26:22 +01:00
Chocobozzz
5cf5465d20
Fix player ratio on audio only
2024-01-03 15:23:20 +01:00
Chocobozzz
fe37e5232b
Add ability to customize views/playback interval
2023-12-20 10:55:47 +01:00
Chocobozzz
63c4a02ce0
Fix views events with lives
2023-12-14 11:12:18 +01:00
Chocobozzz
d5fd8227b4
Avoid sending seek event on video start time
2023-12-14 09:52:50 +01:00
Chocobozzz
ff338f7dda
Fix embed when waiting for a live
2023-12-08 10:13:08 +01:00
Chocobozzz
b13460a10a
Add ability to set password from embed API
2023-11-23 08:14:54 +01:00
Chocobozzz
79a61fa9c6
Prevent player mobile buttons flickering
2023-11-20 09:42:54 +01:00
Chocobozzz
33c707616c
Disable p2p seeding using local storage
...
Used by E2E testing
2023-11-15 11:06:18 +01:00
Chocobozzz
dbd0a3bcac
Fix player ratio on mobile with portrait videos
2023-11-08 15:56:56 +01:00
Chocobozzz
788fa301f2
Don't send views for private videos
2023-11-07 10:46:08 +01:00
Chocobozzz
04bd31bc18
Add more live latency info in stats for nerds
2023-10-30 11:08:09 +01:00
Chocobozzz
a12d94f30d
Fix live start time
...
Use undefined to not break live edge position set by hls.js
2023-10-30 11:04:26 +01:00
Chocobozzz
078c97b357
Add chapter cache to time tooltip
2023-10-30 10:25:14 +01:00
Chocobozzz
049f50bc32
Fix start time with web video player
2023-10-27 14:29:40 +02:00
Chocobozzz
81a51d4bb1
Fix chapters markers in progress bar
...
Fix when we update the video source
Fix when we don't have the video duration yet when creating markers
2023-10-12 16:03:20 +02:00
Chocobozzz
114327d4ce
Fix margin with big resolution labels
2023-10-04 14:08:01 +02:00
Chocobozzz
77b70702d2
Add video chapters support
2023-08-28 16:17:31 +02:00
Chocobozzz
8e4fba97b2
Automatically adapt player ratio
2023-08-18 09:48:45 +02:00
Chocobozzz
3a4992633e
Migrate server to ESM
...
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:
* Server can be faster at startup because imports() are async and we can
easily lazy import big modules
* Angular doesn't seem to support ES import (with .js extension), so we
had to correctly organize peertube into a monorepo:
* Use yarn workspace feature
* Use typescript reference projects for dependencies
* Shared projects have been moved into "packages", each one is now a
node module (with a dedicated package.json/tsconfig.json)
* server/tools have been moved into apps/ and is now a dedicated app
bundled and published on NPM so users don't have to build peertube
cli tools manually
* server/tests have been moved into packages/ so we don't compile
them every time we want to run the server
* Use isolatedModule option:
* Had to move from const enum to const
(https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums )
* Had to explictely specify "type" imports when used in decorators
* Prefer tsx (that uses esbuild under the hood) instead of ts-node to
load typescript files (tests with mocha or scripts):
* To reduce test complexity as esbuild doesn't support decorator
metadata, we only test server files that do not import server
models
* We still build tests files into js files for a faster CI
* Remove unmaintained peertube CLI import script
* Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz
ac8f81e373
Reduce hls.js not supported log
...
Happens often on iOS
2023-07-28 09:18:12 +02:00
Chocobozzz
809fecf2b4
Correctly dispose player components
2023-07-27 14:49:58 +02:00
Chocobozzz
39c0ceee8b
Fix player error modal
...
Not hidden when we change the video
2023-07-27 14:44:34 +02:00
Chocobozzz
f42fcb4b58
Implement video file replacement in client
2023-07-25 11:53:08 +02:00
Chocobozzz
c6867725fb
Add p2p info to metrics
2023-07-21 11:42:52 +02:00
Chocobozzz
305facdfab
Add peers number and p2p enabled label to metrics
2023-07-20 12:06:39 +02:00
Chocobozzz
8a9d247105
Fix "undefined" in stats card
2023-07-20 11:18:47 +02:00
Chocobozzz
4ddf488ab5
Improve player settings menu style
2023-07-20 10:53:22 +02:00
Chocobozzz
c8defc41ee
Fix max settings panel height
2023-07-20 10:26:14 +02:00
Chocobozzz
bfd01f289d
Fix player metrics
2023-07-19 10:20:01 +02:00
Chocobozzz
9a72e4fe9e
Improve settings menu label handler
2023-07-17 11:31:46 +02:00
Chocobozzz
e29221f855
Fix e2e tests
2023-07-17 11:31:46 +02:00
Chocobozzz
28dd2f14f5
Some player fixes on Android, Safari and iOS
2023-07-17 11:31:46 +02:00
Chocobozzz
930e1b939a
Fix HLS player on mobile
2023-07-17 11:31:46 +02:00
Chocobozzz
9bb541bec7
Round HTTP/P2P network stats
2023-07-17 11:31:46 +02:00
Chocobozzz
9bc85bd2f8
Prevent multiple sha requests
2023-07-17 11:31:46 +02:00
Chocobozzz
a1bd2b77d9
Remove webtorrent support from client
2023-07-10 16:08:28 +02:00
Chocobozzz
52807a075f
Fix storyboard on firefox
2023-06-29 10:16:57 +02:00
Chocobozzz
d8f39b126d
Add storyboard support
2023-06-29 10:16:55 +02:00
Wicklow
40346ead2b
Feature/password protected videos ( #5836 )
...
* Add server endpoints
* Refactoring test suites
* Update server and add openapi documentation
* fix compliation and tests
* upload/import password protected video on client
* add server error code
* Add video password to update resolver
* add custom message when sharing pw protected video
* improve confirm component
* Add new alert in component
* Add ability to watch protected video on client
* Cannot have password protected replay privacy
* Add migration
* Add tests
* update after review
* Update check params tests
* Add live videos test
* Add more filter test
* Update static file privacy test
* Update object storage tests
* Add test on feeds
* Add missing word
* Fix tests
* Fix tests on live videos
* add embed support on password protected videos
* fix style
* Correcting data leaks
* Unable to add password protected privacy on replay
* Updated code based on review comments
* fix validator and command
* Updated code based on review comments
2023-06-29 09:48:55 +02:00
Chocobozzz
5490930428
Remove suppressImplicitAnyIndexErrors
...
It's deprecated by TS
2023-05-24 16:56:05 +02:00
Chocobozzz
d0fbc9fd0a
Fix lint
2023-05-24 15:27:15 +02:00
Chocobozzz
0ef18e5b89
Reduce time to throw an error on live problem
2023-05-10 14:52:02 +02:00
Chocobozzz
7815dc450e
Prevent invalid end watch section warnings
2023-05-10 14:23:59 +02:00
Chocobozzz
89fc014262
Catch metrics error
2023-05-10 11:25:24 +02:00
Chocobozzz
1d90e39df3
Fix console error
2023-03-21 08:19:31 +01:00
Wicklow
2c525a5466
Non latin keyboard layout support player shortcut ( #5684 )
...
* Non latin keyboard layout support player shortcut
* isNaked in charge of toUpperCase
2023-03-08 15:08:46 +01:00
Chocobozzz
f967d8be4d
Fix live buffering with small latency
2023-03-07 11:47:42 +01:00
Chocobozzz
626b76dcf5
Fix current video time saving for anonymous users
2023-03-01 10:48:21 +01:00
Chocobozzz
6de076222a
Avoid always resuming the end of the video
2023-02-25 16:18:28 +01:00
Chocobozzz
d270d6a042
Fix lint
2023-02-16 16:41:34 +01:00
Chocobozzz
c9c21fafdb
Fix button link on mobile
2023-02-15 10:27:26 +01:00
Chocobozzz
66b73484c7
Prevent hotkeys playback rate/seek with lives
2022-12-30 15:54:08 +01:00
Chocobozzz
b27bce21f0
Hide playback rate for lives
2022-12-30 15:38:26 +01:00
Chocobozzz
4fe7cde283
Fix build
2022-12-29 10:14:43 +01:00
Chocobozzz
d97d36b486
More robust player stats card
2022-12-29 08:38:33 +01:00
kontrollanten
0e08a5e749
feat(player/playbackRate): set rate with url param
2022-12-29 08:38:18 +01:00
kontrollanten
1f3198444f
Log HLS fatal error with error label ( #5484 )
...
* fix(client/p2p-media-loader): logg err upon fatal
* feat(client/p2p-media-loader): err log currentTime
2022-12-29 08:35:41 +01:00
Chocobozzz
7624270a63
Replay the stream when clicking on live button
2022-12-23 11:58:13 +01:00
Chocobozzz
d91439648c
Prevent grey live button when loading the live
2022-12-21 10:56:48 +01:00
Chocobozzz
0e7c4b03c3
Add back to live feature
2022-12-20 16:28:15 +01:00
Chocobozzz
71e3e879c0
Support reinjecting token in private m3u8 playlist
2022-12-02 15:25:20 +01:00
Chocobozzz
7dcd7d8140
Fix client lint
2022-11-15 15:16:41 +01:00
Chocobozzz
4638cd713d
Don't inject untrusted input
...
Even if it's already checked in middlewares
It's better to have safe modals too
2022-11-15 14:41:55 +01:00
Chocobozzz
59a643aa5c
Force autoplay when live starts
...
Using the mute
2022-11-15 11:57:49 +01:00
Chocobozzz
32f44a017c
Force videojs to not recreate <video>
...
Happens with HLS playlist on iOS breaking our event listener on the
former <video> element in embed api
2022-11-14 10:13:02 +01:00
Chocobozzz
eaa5dc3161
Reapply playsinline on player fallback
2022-10-31 13:47:55 +01:00
Chocobozzz
f746622be4
Prevent console error with HLS fallback
2022-10-31 10:33:37 +01:00
Chocobozzz
3f9decbd01
Prevent player crash on safari
2022-10-28 15:44:19 +02:00
Chocobozzz
0b8e50aa8d
Fix HLS fallback
2022-10-28 15:32:06 +02:00
Chocobozzz
49e7e4d9ff
Fix token injection if unlogged user
2022-10-27 09:13:10 +02:00
Chocobozzz
ce3121efeb
Don't conflict with alt + num web browser hotkey
2022-10-25 16:26:05 +02:00
Chocobozzz
ae7b0cbbcf
Prevent error with metrics in HTTP player
2022-10-25 15:08:12 +02:00
Chocobozzz
326f36929a
Don't fallback to HLS with private videos
2022-10-24 14:48:24 +02:00
Chocobozzz
3545e72c68
Put private videos under a specific subdirectory
2022-10-24 14:48:24 +02:00
kontrollanten
9866921cbf
feat(plugins): add p2p-media-loader options filter ( #5318 )
...
* feat(plugins): add p2p-media-loader options filter
closes #5317
* remove obsolete await
2022-10-11 08:37:14 +02:00
Chocobozzz
77662dae24
Add channels link in menu
2022-09-28 15:43:59 +02:00
kontrollanten
f2a16d93b4
Handle network issues in video player ( #5138 )
...
* feat(client/player): handle network offline
* feat(client/player): human friendly err msg
* feat(client/player): handle broken resolutions
When an error occurs for a resolution, remove the resolution and try
with another resolution.
* fix(client/player): prevent err handl when offline
* fix(client/player): localize offline text
2022-09-28 11:52:23 +02:00
Ewout van Mansom
192edf169c
Translate more strings in player stats
2022-09-16 10:19:30 +02:00
Chocobozzz
f2c29ced30
Fix broken player on non MSE devices
2022-09-08 11:10:01 +02:00
Chocobozzz
6a02dd1c3d
Fix metric with old webtorrent videos
2022-08-17 10:51:51 +02:00
Chocobozzz
7804e577de
Increase test timeout
2022-08-16 15:41:21 +02:00
Chocobozzz
37229de26e
Fix "undefined" resolution in player stats
2022-08-16 14:48:11 +02:00
Chocobozzz
fd3c2e8705
Add playback metric endpoint sent to OTEL
2022-08-16 10:33:27 +02:00
Chocobozzz
de61544582
Add plugin hooks/placeholder to share modal
2022-08-11 15:28:11 +02:00
Chocobozzz
3a818abdc0
Reduce auto play error log
2022-08-03 15:25:24 +02:00
Chocobozzz
a77c5ff362
Fix stucked HLS player
2022-07-21 12:08:47 +02:00
Chocobozzz
42b4063699
Add ability for client to create server logs
2022-07-18 11:37:18 +02:00
Chocobozzz
7a9efc5cd2
Remove unused class attribute
2022-06-28 14:11:59 +02:00
Chocobozzz
bd2b51be4b
Put instance name in embed button
2022-06-28 14:11:10 +02:00
Chocobozzz
a334597283
Theme fixes
2022-06-28 11:29:54 +02:00
Chocobozzz
64324ac646
Merge branch 'release/4.2.0' into develop
2022-06-23 10:53:16 +02:00