Commit Graph

503 Commits (77b70702d2193d78bf6fbd07f0fc7335e34957f8)

Author SHA1 Message Date
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
Chocobozzz 408fd5e424
More precise format byte with GB 2022-06-23 10:45:36 +02:00
Chocobozzz 5b0ec7cddb
Increase global font size 2022-06-16 11:37:08 +02:00
Chocobozzz 6f03f944c3
Redesign register steps 2022-06-15 13:31:53 +02:00
Chocobozzz f552ca84a5
Upgrade client dependencies 2022-06-13 14:05:46 +02:00
Chocobozzz f72c78b2f6
Reorganize application.scss 2022-06-13 11:42:23 +02:00
Chocobozzz dc1296a9ab
Better icon names 2022-06-13 11:28:20 +02:00
Chocobozzz 93c728a25a
Replace all glyphicon icons 2022-06-13 11:23:36 +02:00
Chocobozzz c2faa073d1
Replace glyphicon chevron 2022-06-10 17:05:55 +02:00
Chocobozzz b15fcd49bf
Prefer global icon instead of glyphicon for copy 2022-06-10 15:51:47 +02:00
luz paz 7a4fd56ccd Fix various typos
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
2022-06-07 16:41:21 +02:00
Chocobozzz d3f4689bde
Add live autostart/messages in embed 2022-05-31 14:24:07 +02:00
Chocobozzz 1c8a9a1d22
Fix 0-9 player hotkey conflict with web browser 2022-05-20 10:06:01 +02:00
Chocobozzz 60f013e103
Add control bar option for peertube player 2022-05-20 09:59:53 +02:00
Chocobozzz 023c3ca2e7
Fix live play 2022-04-19 16:24:49 +02:00
Chocobozzz 1222a602a3
Use round for views stats 2022-04-15 10:47:48 +02:00
Chocobozzz 384ba8b77a Support videos stats in client 2022-04-15 09:49:35 +02:00
Chocobozzz 68e72ba90c
Optimize improve stat card rendering in player 2022-03-18 16:01:09 +01:00
Chocobozzz e71e2d8a8f
Fix missing p2p media loader config for hls 2022-03-18 13:32:20 +01:00
Chocobozzz b46489f8e4
Cleanup logo svg 2022-03-15 15:12:39 +01:00
Chocobozzz 57d6503286
Reorganize player files 2022-03-14 14:36:35 +01:00
Chocobozzz 9597920ee3
Reorganize player manager options builder 2022-03-14 11:36:38 +01:00
Chocobozzz 9af2accee6
Reorganize videojs components 2022-03-14 10:27:05 +01:00
Chocobozzz f443a74649 Add latency setting support 2022-03-09 09:23:10 +01:00
Chocobozzz 01dd04cd5a
Display avatar in embed poster 2022-03-08 16:36:08 +01:00
Chocobozzz 6385fe5803
Fix stuck hls player with bad redundancy 2022-03-03 14:30:55 +01:00
kontrollanten d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz ac5f679ad6
Fix HLS buffer 2022-02-22 13:44:12 +01:00
Chocobozzz 15a0e5f3b3
Correctly hide mobile buttons overlay on ios 2022-02-09 11:54:18 +01:00
Chocobozzz 21f2df5d3b
Put white background to peertube icons 2022-02-04 13:48:21 +01:00
Chocobozzz 457c83486e
Fix hidding mobile overlay 2022-02-04 09:23:07 +01:00
Chocobozzz c4207f978e
Fast forward on HLS decode error 2022-02-02 11:26:18 +01:00
Chocobozzz 077a413ff8
Automatically restart live on server/live restart 2022-01-19 10:44:12 +01:00
Chocobozzz 49098d6bbf
Remove unused function 2022-01-14 11:33:05 +01:00
Chocobozzz d7b052ff4e
Move to our own player hotkeys 2022-01-13 11:16:35 +01:00
Chocobozzz fc3412fd4e
Cleanup player hotkeys 2022-01-13 11:16:35 +01:00
Chocobozzz f85b5afb7c
Fix typings 2022-01-12 15:19:51 +01:00
Chocobozzz 2dd0a8a8fd
Add fast forward/rewind on mobile 2022-01-12 15:07:21 +01:00
Chocobozzz e98ef69d1c
Move to landscape on mobile fullscreen 2022-01-12 09:42:54 +01:00
Chocobozzz f1a0555a88
Add player controls on mobile 2022-01-11 11:26:35 +01:00
Chocobozzz a5a79d1542
Increase player control bar size 2022-01-10 10:08:14 +01:00
Chocobozzz 2b6af10e9f
Fix player with audio only resolution 2021-12-16 14:57:00 +01:00
Chocobozzz 8530211822
Add ability to disable p2p in embed with URL 2021-12-16 10:08:55 +01:00
Chocobozzz 9576506763
Add P2P enabled/disabled in player card 2021-12-16 10:08:55 +01:00
Chocobozzz bf1c3c78b0
Hide P2P in player if disabled 2021-12-16 10:08:55 +01:00
Chocobozzz a9bfa85d2c
Add ability for admins to set default p2p policy 2021-12-16 10:08:55 +01:00
Chocobozzz dc9ff3128f
Improve control bar inactivity handling
Keep opened when user is in control bar settings
Faster hidding transition for control bar
2021-12-09 10:33:32 +01:00
Chocobozzz 07d6044e21
Focus player after fullscreen 2021-12-09 09:41:26 +01:00
Chocobozzz 51d811751f
Fix live duration in player 2021-12-07 11:32:19 +01:00
Chocobozzz 22f25c740b
Recover HLS video with duration inconsistency
With audio longer than video
2021-12-03 10:14:17 +01:00
Chocobozzz 4ef44b2b71
Add aria expanded to settings button 2021-11-22 14:25:26 +01:00
Chocobozzz 04868c1331
Fix player menu keyboard navigation 2021-11-19 16:21:50 +01:00
Chocobozzz cd2fad008a
Update angular 2021-11-10 16:33:55 +01:00
Chocobozzz 950b3ce7f0
Migrate to @peertube/videojs-contextmenu
To fix a bug with latest videojs
2021-10-26 11:24:05 +02:00
Chocobozzz 36de29dfb2
Remove render media todo
We don't want to use official module anymore since we removed a large
part of the upstream code we don't need (pdf etc)
2021-10-22 16:18:55 +02:00
Chocobozzz 02b2e482e0
Fix some old typing issues 2021-10-22 16:18:00 +02:00
Chocobozzz efcadd3d14
Fix "Off" player string localization 2021-10-21 11:01:10 +02:00
Chocobozzz 5196817c5d
Fix privacy concern for remote videos 2021-10-21 09:24:22 +02:00
Chocobozzz 926bf5496f
Fix missing width/height in share iframe 2021-10-20 09:56:15 +02:00
Chocobozzz 0067a77d23
Improve playback with bad redundancies 2021-10-14 17:06:41 +02:00
kontrollanten c80e458afb
extend client-overrides with default images (#4392)
* extend client-overrides with default images

Add:
* default-playlist.png
* default-avatar-account.png
* default-avatar-videochannel.png

solves #4108

* Rename to default-avatar-video-channel.png

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:50:40 +02:00
Chocobozzz bdb1dfc176
Safer iframe creation 2021-10-11 11:13:27 +02:00
Chocobozzz 89ac282e04
Fix embed api 2021-09-10 15:53:33 +02:00
Chocobozzz e367da949b
Cleanup player quality change 2021-09-10 15:06:57 +02:00
Chocobozzz 98ab5dc810
Remove useless async 2021-08-26 10:01:42 +02:00
Ms Kimsible 7dca45f99d
Inform user to fill account profile and channels (#4352)
* Add account-setup modal when login

* Add channels-setup alert into my-channels, my-playlists and upload page

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-08-26 08:22:33 +02:00
Chocobozzz dd24f1bb0a
Add video filters to common video pages 2021-08-25 11:24:11 +02:00
Chocobozzz 5f31aaa398
Fix player setting overflow 2021-08-18 09:54:40 +02:00
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz 134006b0d4
Update client dependencies 2021-08-11 11:49:01 +02:00
Chocobozzz 421ff4618d
Merge branch 'release/3.3.0' into develop 2021-08-05 15:17:18 +02:00
Chocobozzz ff5f37e4f3
Fix sha fallback 2021-08-05 15:17:09 +02:00
Chocobozzz 3e254de8be HLS v1 support 2021-08-05 10:57:49 +02:00
Chocobozzz 23ca2f7bc9
Fix peertube link button 2021-07-30 11:48:21 +02:00
Chocobozzz 88d36fe4dc
Correctly fix peertube button link 2021-07-29 17:16:03 +02:00
Chocobozzz 15a7eafb89
Refactor video links builders 2021-07-26 15:04:37 +02:00