Commit Graph

172 Commits

Author SHA1 Message Date
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 a7299d9d85
Fix 401 error in embeds 2020-12-01 15:04:38 +01:00
Chocobozzz b9da21bd5a
Hide dock if there are no title/description 2020-11-10 16:47:25 +01:00
Chocobozzz 25b7c84724
Try to optimize sha segments fetching 2020-11-10 14:21:26 +01:00
Chocobozzz c6c0fa6cd8 Live streaming implementation first step 2020-11-09 15:33:04 +01: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 7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz f95628636b Support plugin hooks in embed 2020-08-20 14:23:57 +02:00
Chocobozzz 496d784d05 Fix invalid refresh token in embed 2020-08-14 17:31:34 +02:00
Chocobozzz 207612dff8 Continue without token on error in embed 2020-08-10 15:15:48 +02:00
Chocobozzz be59656c82
Correctly error network errors in embed 2020-08-07 09:13:32 +02:00
Chocobozzz 6fad8e51c4 Handle playlist oembed 2020-08-07 08:58:29 +02:00
Chocobozzz 9054a8b6e5 Handle playlist methods in embed api 2020-08-07 08:58:29 +02:00
Chocobozzz 2a71d286ce Handle playlist position in URL 2020-08-07 08:58:29 +02:00
Chocobozzz fb13852d30 Load all playlist elements 2020-08-07 08:58:29 +02:00
Chocobozzz 1a8c2d74d1 Handle start at/stop at in playlist embed 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 a4ff3100d3 Cleanup tokens logic in embed 2020-08-07 08:55:02 +02:00
Chocobozzz bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00
Chocobozzz 583eb04b54 Upgrade to angular 10 2020-08-07 08:28:14 +02:00
Rigel Kent 4504f09f6e deal with refresh token in embed 2020-08-06 15:08:58 +02:00
Rigel Kent 71ab65d02f decouple video abuse details from embed, add embed to block list details 2020-08-06 15:08:58 +02:00
Chocobozzz 08d9ba0f85
Add ability to disable peertube link in embed 2020-07-31 17:03:57 +02:00
Chocobozzz 35f0a5e665
Fix player menu on mobile 2020-07-02 15:10:06 +02:00
Chocobozzz 1151f5210c
Add ability to update embed captions 2020-05-06 11:54:33 +02:00
Chocobozzz 512decf37e
Fix videojs 2020-04-21 11:02:28 +02:00
Chocobozzz 7e37e11111
Fix videojs typings 2020-04-17 14:12:43 +02:00
Chocobozzz 6ccdf9d53e
Add duration in embed api playbackStatusUpdate 2020-04-08 14:52:28 +02:00
Chocobozzz 96aae68cc4
Add "ended" embed API event 2020-04-08 14:39:31 +02:00
Chocobozzz 5ab994fe8e
Fix embed api documentation 2020-03-20 15:04:02 +01:00
Chocobozzz 64645512b0
Fix saved mute in embed 2020-02-28 13:45:42 +01:00
Chocobozzz 818c449b3c
Merge branch 'release/2.1.0' into develop 2020-02-26 15:26:02 +01:00
Chocobozzz 133d9c112a
Fix IOS embed player 2020-02-26 15:01:22 +01:00
Chocobozzz abb3097e81
Improve embed title background opacity 2020-02-03 13:33:42 +01:00
Chocobozzz 03d641a0d7
Add embed api build 2019-12-18 10:14:25 +01:00
Chocobozzz c026a2e673
Remove watch scripts 2019-12-18 10:14:24 +01:00
Chocobozzz 478924a044
Add package.json for embed api 2019-12-18 10:14:24 +01:00
Chocobozzz 6377a9f2b0
Fix test embed page 2019-12-18 10:14:23 +01:00
Chocobozzz 3f9c4955af
Speedup embed first paint 2019-12-18 10:14:22 +01:00
Chocobozzz 3d9a63d3d8
Add hook to alter player build options 2019-12-05 17:06:18 +01:00
Chocobozzz 0f2f274c98
Auto load HLS player in embed too 2019-11-25 10:59:49 +01:00
Chocobozzz 5a71acd254
Disable webtorrent support in client 2019-11-25 10:59:46 +01:00
Robin 13176a07a9 Cleaner warning of IP address leaking on embedded videos (#2034)
* Update peertube-skin.scss

* Update embed.ts
2019-08-16 08:17:41 +02:00
Chocobozzz bfbd912886 Fix broken playlist api 2019-08-01 09:11:04 +02:00
Chocobozzz 5efab5467c
Add more embed parameters 2019-06-11 16:05:03 +02:00
Chocobozzz 31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +02:00
Chocobozzz c47106315a
tslint update 2019-04-02 18:30:26 +02:00
Chocobozzz f421fa06ad
Update client dep 2019-04-02 17:39:21 +02:00
Chocobozzz f0a3988066 Add to playlist dropdown 2019-03-18 11:17:59 +01:00
Chocobozzz 597a9266d4 Add player mode in watch/embed urls 2019-02-11 09:13:02 +01:00
Chocobozzz 6ec0b75beb Fallback HLS to webtorrent 2019-02-11 09:13:02 +01:00
Chocobozzz 0920929696 Add hls support on server 2019-02-11 09:13:02 +01:00
Chocobozzz 4348a27d25 Add lazy loading in player 2019-02-11 09:13:02 +01:00
Chocobozzz 3b6f205c34 Correctly implement p2p-media-loader 2019-02-11 09:13:02 +01:00
Chocobozzz 2adfc7ea9a Refractor videojs player
Add fake p2p-media-loader plugin
2019-02-11 09:13:02 +01:00
buoyantair 9fb6cfc49b Add meta tag to embed.html 2019-01-31 16:36:25 +01:00
Chocobozzz ad3fa0c567
Add missing translations in embed template 2019-01-14 17:45:02 +01:00
Chocobozzz 3b019808ef
Set last subtitle or subtitle in URL 2018-12-17 14:15:30 +01:00
Chocobozzz 6385c0cb7f
Fix embed video id parsing 2018-11-15 16:57:59 +01:00
Chocobozzz e0628695c3
Fix embed 2018-10-19 08:37:31 +02:00
Chocobozzz c199c427d4
Better typings 2018-10-18 14:35:31 +02:00
BO41 244b4ae397 NoImplicitAny flag true (#1157)
this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137
2018-10-18 09:08:59 +02:00
Chocobozzz b335ccec49
Fix ios player playback/subtitles menu 2018-09-17 15:01:04 +02:00
Chocobozzz 3dfa849402
Translate subtitle langs in player 2018-08-16 10:48:35 +02:00
Chocobozzz 59c76ffa8f
Flat shared module directory 2018-08-14 15:00:01 +02:00
Chocobozzz 0f7fedc398
Improve frontend accessibility
In particular checkboxes, likes/dislikes, share button, video thumbnails
and help buttons
2018-07-17 14:56:15 +02:00
Chocobozzz 6d88de7253
Correctly handle error when remote instance is down 2018-07-16 19:15:20 +02:00
Chocobozzz 1f6824c958
Improve start time param
Can handle 2m42s for example
2018-07-16 16:13:35 +02:00
Chocobozzz 16f7022b06 Handle subtitles in player 2018-07-16 11:50:08 +02:00
Chocobozzz a7c9cbb56f
Change friendly reminder about privacy. 2018-07-10 18:36:07 +02:00
Chocobozzz 902aa3a099
Fix player lint 2018-07-10 18:02:40 +02:00
William Lahti 999417328b Ability to programmatically control embeds (#776)
* first stab at jschannel based player api

* semicolon purge

* more method-level docs; consolidate definitions

* missing definitions

* better match peertube's class conventions

* styling for embed tester

* basic docs

* add `getVolume`

* document the test-embed feature
2018-07-10 17:47:56 +02:00
Chocobozzz 78f912ed57 Improve P2P & Privacy section 2018-06-27 14:59:09 +02:00
Chocobozzz 054a103b28
Add theatre mode 2018-06-11 16:49:56 +02:00
Chocobozzz 2a19a1e4de
Split player sass file 2018-06-11 15:25:46 +02:00
Chocobozzz 7cf26f433f
Fix e2e tests 2018-06-08 11:25:12 +02:00
Chocobozzz 46659d01df
Fix embed view with search params 2018-06-07 15:03:33 +02:00
Chocobozzz e945b184a0
Localize player 2018-06-06 16:48:40 +02:00
Chocobozzz 960a11e89d
Add context menu to player 2018-05-30 17:10:00 +02:00
Chocobozzz 568cd9676e
Don't index embed pages 2018-05-28 13:15:51 +02:00
Chocobozzz d1bd87e066
Make it works with new autoplay policy 2018-05-22 16:02:29 +02:00
Chocobozzz e7eb5b3997
Fix play on iOS (grumph) 2018-05-22 09:17:21 +02:00
Chocobozzz cd4d7a2ca8
Fix peertube with google bot 2018-05-22 09:17:20 +02:00
Chocobozzz d4f3fea659
Handle errors in embed 2018-04-19 18:06:59 +02:00
Chocobozzz f37bad639b
Add ability to set a start time 2018-04-05 17:12:22 +02:00
Chocobozzz 33d7855229
Improve first play 2018-04-03 15:18:24 +02:00
Chocobozzz c6352f2c64
Improve player
Add a settings dialog based on the work of Yanko Shterev (@yshterev):
https://github.com/yshterev/videojs-settings-menu. Thanks!
2018-04-03 14:02:10 +02:00
Chocobozzz da99ccf268
Add autoplay parameter in embed 2018-03-27 11:11:15 +02:00
Chocobozzz 60a26a559c
Reduce innactivity timeout on embed 2018-03-26 13:55:27 +02:00
Chocobozzz 606ca5bccf
Fix typo in embed 2018-03-19 17:35:01 +01:00
Chocobozzz 3ec8dc0962
Cleaner videojs control bar implementation 2018-03-01 19:02:51 +01:00
Chocobozzz 22b59e8099
Add messages about privacy concerns (P2P) 2018-02-28 15:33:45 +01:00
Chocobozzz 7b0956ec4f
Fix tests 2018-02-14 18:33:06 +01:00
Chocobozzz 3bcfff7f44
Fix video play promise error on non supported browsers 2018-02-14 18:04:30 +01:00
Chocobozzz 8cac1b6446
Move adding a video view videojs peertube plugin 2018-02-14 17:16:32 +01:00
Chocobozzz a16aee73db
Fix embed lint 2018-02-14 16:03:09 +01:00
Florent F f2f1118f17 Use fetch instead of XMLHttpRequest (#292) 2018-02-14 11:02:51 +01:00