Commit Graph

419 Commits (7a4fd56ccd86518a6b14c407fc977c7904337448)

Author SHA1 Message Date
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
Chocobozzz 9162fdd363
Refactor video links building 2021-07-26 14:12:50 +02:00
Chocobozzz a66424978c
Fix URL copy in embed 2021-07-26 13:37:18 +02:00
Chocobozzz 05287a2e36
Fix player options 2021-07-12 15:14:33 +02:00
Chocobozzz 3e9cf56480
Fix HTTP fallback with no webtorrent files 2021-07-12 14:35:17 +02:00
Chocobozzz 4b8463dee3
Fix console error when watching a video 2021-06-29 18:03:55 +02:00
Chocobozzz c6bfbaebe7
Fix error when cookies are disabled 2021-06-25 15:40:59 +02:00
Chocobozzz 2b58ca796d
Upgrade client dependencies 2021-06-25 15:37:50 +02:00
kontrollanten 72f611ca15 add client hook filter:videojs.options
closes #4086
2021-06-14 13:35:48 +02:00
Chocobozzz ffacd78f21
Load embed api resolutions on init 2021-06-08 10:17:47 +02:00
Chocobozzz 5351a0584f
Replace local menu icon 2021-05-28 14:56:42 +02:00
Chocobozzz a1eda903a4
Support '/w/' and '/w/p/' for watch page
And use them as default in client
2021-05-28 11:38:08 +02:00
Chocobozzz 2539932e16
Instance homepage support (#4007)
* Prepare homepage parsers

* Add ability to update instance hompage

* Add ability to set homepage as landing page

* Add homepage preview in admin

* Dynamically update left menu for homepage

* Inject home content in homepage

* Add videos list and channel miniature custom markup

* Remove unused elements in markup service
2021-05-27 15:59:55 +02:00
Chocobozzz db0159c7f2
Fix "stats for nerds" card in HTTP mode 2021-05-14 14:07:16 +02:00
Chocobozzz 1a5b67b66d
Fix http player defaulting to audio resolution 2021-05-14 13:58:40 +02:00
Chocobozzz 36d9a79f7b
Fix player settings dispose 2021-05-05 10:09:32 +02:00
Rigel Kent b76db2ffb4
round volume in stats card 2021-05-04 13:21:51 +02:00
Chocobozzz a45050e09e
Add player mode to player stats 2021-04-28 09:07:57 +02:00
Chocobozzz 4e11d8f3ca Cleanup stats for nerds 2021-04-28 09:05:44 +02:00
Rigel Kent ff563914bb add stats videojs plugin 2021-04-28 09:05:44 +02:00
Chocobozzz 75d7495962
Autoclose settings on outside click 2021-04-27 10:46:09 +02:00
Chocobozzz 3e0e8d4afd
Revert "Fix context menu when watching a playlist"
This reverts commit e8bb5b6b3a.

We'll refactor this error handler in hls.js v1 upgrade
2021-04-21 15:28:12 +02:00
Chocobozzz 48d7e4ad13
Better hls warn/error logging 2021-04-21 15:18:22 +02:00
Chocobozzz e8bb5b6b3a
Fix context menu when watching a playlist 2021-04-21 15:18:22 +02:00
Chocobozzz 93f30abf28
Lazy load player captions 2021-04-13 08:38:15 +02:00
Rigel Kent 83ff548125 add icons in contextmenu 2021-04-12 15:35:39 +02:00
Rigel Kent a472cf0330 add loop toggle to the player contextmenu 2021-04-12 10:50:22 +02:00
kontrollanten 58b9ce3080
Resume videos for non-logged in users (#3885)
* client: resume videos for non-logged in users

closes #3866

* fix build for embeded

* Update client/src/app/app.component.ts

* fix review comments
2021-03-31 11:26:32 +02:00
Thavarasa Prasanth 4097c6d66c
fix missing title attribute on <iframe> tag suggested for embedding (#3901)
* title attribute is missing on <iframe> tag suggested for embedding #3861

* fix #3901

* fix: escapeHTML #3901

* fix: playlist title instead of video title #3901

* fix #3901

* assign title directly #3901
2021-03-31 08:32:05 +02:00
ltsallas 088447758f Add 1.75 option to playback rates 2021-03-26 08:38:27 +01:00
Chocobozzz 5d43dae369
Try to reduce CSS size 2021-03-24 18:18:40 +01:00
Chocobozzz d61893f723 Async torrent creation 2021-02-25 15:01:07 +01:00
Chocobozzz e84203f295
Fix subtitles load on safari 2021-02-24 10:22:34 +01:00
kontrollanten 684cdacbbd client(hotkeys): remove seekstep VLC behavior
closes #2810
2021-02-16 10:37:01 +01:00
kontrollanten e0b5972167 client(hotkeys): tighten hotkey definitions 2021-02-16 10:37:01 +01:00
Chocobozzz 2d056f6604
Try to recover from network errors 2021-02-09 11:46:30 +01:00
Rigel Kent 3d4e112d16 add best trending strategy based on Reddit's best
inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/
this implementation only adds freshness, and doesn't personalize based
on subscribed communities yet.
2021-02-04 09:04:47 +01:00
Chocobozzz cb5c2abc99
Improve parse log with sql 2021-02-01 15:04:45 +01:00
Chocobozzz d0dd9813d5
Fix hls error handling 2021-01-29 14:05:41 +01:00
Chocobozzz e25f83ce21
Correctlu throws an error on manifestIncompatibleCodecsError 2021-01-29 14:05:41 +01:00
Rigel Kent 5bcbcbe338 modularize abstract video list header and implement video hotness recommendation variant 2021-01-28 15:55:34 +01:00
Kimsible 51a8397006
User dropdown and notifications popover improvements (#3344)
* hove user dropdown on avatar and username
* rename avatar-notification to notification component
* use a link on mobile for notification component
* add profile user dropdown and mobile notifications link as reusable active link
* replace markAllAsRead inbox glyphicon to ok in notification popover
* remove keyboard shortcuts from user dropdown on mobile
* use common bell icon instead of inbox-full for notifications
* remove duplicated notification in user dropdown since the bell appears on the right
* adjust sensitive icon in user dropdown
* align vertically user buttons popover and dropdown
* adjust ellipsis on user display name and username in menu
* adjust notification bell for mobile in menu
* display background of user dropdown avatar and username for touchscreens
* add right arrow indicator on mobile

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-13 14:54:12 +01:00
Chocobozzz e46c70d858
Fix ; 2020-12-07 17:03:22 +01:00
Chocobozzz 6a882bc400
Relax webtorrent file check 2020-12-07 16:53:11 +01:00
kontrollanten 77002f5291 wt-plugin: tighten sanity check 2020-12-07 16:52:35 +01:00
kontrollanten a325db1776 Revert "refactor(wt-plugin): create getVideoFile fn"
This reverts commit 9110f52c4f.
2020-12-07 16:52:35 +01:00
kontrollanten 8426a71144 Revert "refactor(wt-plugin): tighten TS definitions"
This reverts commit cdca521e15.
2020-12-07 16:52:35 +01:00
kontrollanten d94ca8d0b7 refactor(wt-plugin): tighten TS definitions 2020-12-07 16:52:35 +01:00
kontrollanten 46d992d208 refactor(wt-plugin): create getVideoFile fn 2020-12-07 16:52:35 +01:00
kontrollanten a5a69fc727 wt-plugin: clearify err msg 2020-12-07 16:52:35 +01:00
Chocobozzz 10f26f4203
Fix viewers for lives 2020-12-07 16:07:52 +01:00
kontrollanten adc1f09c0d hls-plugin: destroy hls upon third err
According to hls.js docs `hls.destroy()` should be called
https://github.com/video-dev/hls.js/blob/master/docs/API.md#final-step-destroying-switching-between-streams
2020-12-07 08:59:08 +01:00
Chocobozzz 5f8327c507
Update i18n with new player keys 2020-12-04 16:37:21 +01:00
Florian CUNY 171528373e
add 'total downloaded' stats from server and peers in player (#3394)
Implements https://github.com/Chocobozzz/PeerTube/issues/3384
This will only work with HLS. The display for Webtorrent is left untouched.

Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-12-04 16:30:01 +01:00
Chocobozzz fc41887463
Fix 00:00 player timestamp 2020-11-25 11:56:19 +01:00
kimsible c418d48300 Add new default different avatar for channel and account 2020-11-25 11:12:06 +01:00
Rigel Kent afff310e50 allow private syndication feeds via a user feedToken 2020-11-25 11:07:56 +01:00
Chocobozzz 4f926722ea
Upgrade client dependencies
Migrate removed primeng theme to custom CSS
2020-11-19 15:25:41 +01:00
Chocobozzz e14de000f9
Update live settings edge delay 2020-11-18 11:32:57 +01:00
Chocobozzz 1648dcb509
Increase live delay 2020-11-17 14:05:15 +01:00
Chocobozzz 805bec52cd
Replace keyboard shortcut icon
Use svg instead
2020-11-16 15:55:18 +01:00
Chocobozzz 501af82d99
Delay notification when waiting for a live 2020-11-12 17:13:32 +01:00
Chocobozzz 25b7c84724
Try to optimize sha segments fetching 2020-11-10 14:21:26 +01:00
Chocobozzz 210856a7be
Try to fix live segments check 2020-11-10 14:15:59 +01:00
Chocobozzz 6d61da4e32
HLS player fallback for non https context 2020-11-10 10:36:50 +01:00
Chocobozzz 053aed43fb Regenerate miniature on live save 2020-11-09 15:33:04 +01:00
Chocobozzz d846d99c6c Add modal to display live information 2020-11-09 15:33:04 +01:00
Chocobozzz c6c0fa6cd8 Live streaming implementation first step 2020-11-09 15:33:04 +01:00
Chocobozzz 1a568b6fca
Fix play of videos on ios
When the user already played a video
2020-08-27 08:39:44 +02:00
Chocobozzz ebc8dd52ca
Correctly fix autoplay with webtorrent 2020-08-19 16:27:44 +02:00
Chocobozzz 9eccae74c8
Try to fix autoplay with ios/safari
* Disable autoplay on first load because we have weird issues (player
 starts to play and stop so we loose the big play button). We also don't
 want to autoplay muted videos (bad UX IMHO and we don't have ads to
 display)
 * Enable autoplay when we already played a video (fixes the issue with
 playlists)
2020-08-19 16:17:39 +02:00
Chocobozzz aea53cc649
Fix incorrect resolution with webtorrent videos 2020-08-14 17:45:00 +02:00
kimsible 438c256b26 Move markdown icon on right and correct colors 2020-08-14 15:03:38 +02:00
kimsible 3c176894ba Add markown compatible help icon in comment textarea 2020-08-14 15:03:38 +02:00
Chocobozzz 241c1a558c
Fix icon names 2020-08-07 14:55:55 +02:00
Chocobozzz d5cefc1fa5
Merge branch 'feature/e2e' into develop 2020-08-07 14:01:11 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz 189ab8deb3
Add ability to disable peertube button link in embed 2020-08-07 11:42:53 +02:00
Chocobozzz 7f90579c04
Add playlist embed E2E test 2020-08-07 11:12:59 +02:00
Chocobozzz 1a8c2d74d1 Handle start at/stop at in playlist embed 2020-08-07 08:58:29 +02:00
Chocobozzz 56674bb9f8 Handle unavailable videos in embed playlists 2020-08-07 08:58:29 +02:00
Chocobozzz a950e4c82b Add previous button 2020-08-07 08:58:29 +02:00
Chocobozzz 4572c3d0d9 Handle basic playlist in embed 2020-08-07 08:58:29 +02:00
Chocobozzz 5abc96fca2 Add logic to handle playlist in embed 2020-08-07 08:58:29 +02:00
Chocobozzz bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00