Commit Graph

53 Commits (76148b27f7501bac061992136852be4303370c8d)

Author SHA1 Message Date
Rigel Kent 76148b27f7 refactor API errors to standard error format 2021-06-02 16:57:07 +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 0f01a8bacd Remove ngx-meta
Unmaintained
2021-05-27 16:00:13 +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 ceb8f32211
Fix live ending banner 2021-05-25 15:27:43 +02:00
Chocobozzz e1a5ad703f
Fix playlist position error 2021-04-27 09:02:35 +02:00
Florian CUNY e771e82dfa
Added "last" and a reversed ?playlistPosition in playlist URL (#3974)
* Added "last" and a reversed playlistPosition

Implements https://github.com/Chocobozzz/PeerTube/issues/3897

* Fixed lint errors in video-watch component

* Applied requested changes

* Removed debug logs

* Fixed lint

* Playlist position styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-04-26 11:01:29 +02:00
Poslovitch 5bb2ed6b81 Fixed lint error 2021-04-26 10:54:02 +02:00
Poslovitch dfdcbb948a Fixed "previous" button showing when not watching a playlist 2021-04-26 10:54:02 +02:00
Poslovitch 33d21a9b47 Added a "previous" button on player when watching playlist
Implements https://github.com/Chocobozzz/PeerTube/issues/3485
2021-04-26 10:54:02 +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 e8bb5b6b3a
Fix context menu when watching a playlist 2021-04-21 15:18:22 +02:00
Rigel Kent de779034cd add link to open video on origin instance
closes #3624
2021-04-12 15:35:31 +02:00
Chocobozzz 55b84d5346
Add playlist and video in watch action hook 2021-04-09 10:54:34 +02:00
kontrollanten ca87329289
Don't pause video upon modal open (#3909)
* client: dont pause video upon modal open

closes #3816

* client(video/watch): remove obsolete code

* gitignore: add vscode and vim swp files
2021-04-08 13:37:57 +02:00
Chocobozzz cdeddff142 Add ability to update the banner 2021-04-08 10:07:53 +02:00
Chocobozzz 0f7407d926
Refactor video miniature
Less dirty code, better responsive
Prepare for some regressions
Increase default miniature size
2021-04-01 16:54:49 +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
Chocobozzz 100d9ce23b Add support button in channel page 2021-03-31 09:05:51 +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
Chocobozzz c15d61f5fe
Display the preview image on waiting lives 2021-02-22 10:53:25 +01:00
Chocobozzz 0a6817f0ba
Correctly load live information when not started 2021-02-22 10:46:52 +01:00
Chocobozzz 06bee93748
Fix complete description loading 2021-02-12 09:13:15 +01:00
Chocobozzz 2666fd7c75
Fix small UI bugs 2021-02-02 10:37:52 +01:00
Rigel Kent ab398a05e9 redirect to login on 401, display error variants in 404 component 2021-01-25 15:37:26 +01:00
Chocobozzz 18429d011e
Don't update timestamps for a live 2020-12-17 14:14:28 +01:00
Chocobozzz e43b5a3fa8
Improve live player responsive 2020-12-10 09:37:53 +01:00
Chocobozzz a800dbf345
Live views update 2020-12-09 16:31:42 +01:00
Rigel Kent f2eb23cd87
emit more specific status codes on video upload (#3423)
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz e772bdf14c
Load video in permanent live after last one ended 2020-12-04 15:38:32 +01:00
Chocobozzz 4ec25ae825
Refactor last PR 2020-11-27 15:57:38 +01:00
Tanguy BERNARD 992f498e31
add title attribute for exact view counters (#3365) 2020-11-27 14:27:14 +01:00
Chocobozzz 25b7c84724
Try to optimize sha segments fetching 2020-11-10 14:21:26 +01:00
Chocobozzz f8c00564e7 Add live info in watch page 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 a5cf76afa3 Add watch messages if live has not started 2020-11-09 15:33:04 +01:00
test2a 214ff6fa00
changed video rating popover text with link to login page (#3168)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-10-30 11:30:21 +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 e6abf95e9f
Add redirection on unavailable video due to follow constraints 2020-08-26 09:14:14 +02:00
Chocobozzz 781ba98126 Add ability to set a description to dynamic fields 2020-08-21 15:39:51 +02:00
Chocobozzz 0cd6ffc09c Send videojs to action player hooks 2020-08-21 15:39:51 +02:00
Chocobozzz d142c7b9c0 Use playlistPosition for playlists instead of videoId 2020-08-19 11:30:21 +02:00
Chocobozzz 3c6a44a181 Fix video playlist resuming 2020-08-19 11:30:21 +02:00
Chocobozzz 66357162f8
Migrate to $localize
* Remove i18n polyfill to translate things in components
 * Reduce bundle sizes
 * Improve runtime perf
 * Reduce a lot the time to make a full client build
 * Reduce client build complexity
 * We don't need a service to translate things anymore (so we will be able to translate title pages etc)

Unfortunately we may loose some translations in the migration process.
I'll put a message on weblate to notify translators
2020-08-14 10:28:30 +02:00
Chocobozzz 82f443de1a
Add buttons in playlist page
To delete/edit/share the playlist
2020-08-10 09:43:44 +02:00
Aman Sharma 203d594f2d
Resume video playback on close of support modal (#3052)
* Resume video playback on close of support modal #2995

* Fix lint issues
2020-08-10 08:32:10 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz 5abc96fca2 Add logic to handle playlist in embed 2020-08-07 08:58:29 +02:00
Rigel Kent 4504f09f6e deal with refresh token in embed 2020-08-06 15:08:58 +02:00
Rigel Kent 6863f814b0 special display case for logged-out users to display download in watch page 2020-08-04 16:06:40 +02:00