aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/package.json3
-rw-r--r--client/src/standalone/player/README.md3
-rw-r--r--client/src/standalone/player/package.json22
-rw-r--r--package.json2
-rw-r--r--support/doc/api/embeds.md6
5 files changed, 32 insertions, 4 deletions
diff --git a/client/package.json b/client/package.json
index 7a805ad17..53aedfebd 100644
--- a/client/package.json
+++ b/client/package.json
@@ -2,7 +2,7 @@
2 "name": "peertube-client", 2 "name": "peertube-client",
3 "version": "2.0.0", 3 "version": "2.0.0",
4 "private": true, 4 "private": true,
5 "licence": "GPLv3", 5 "license": "AGPL-3.0",
6 "author": { 6 "author": {
7 "name": "Chocobozzz", 7 "name": "Chocobozzz",
8 "email": "chocobozzz@cpy.re", 8 "email": "chocobozzz@cpy.re",
@@ -22,7 +22,6 @@
22 "webdriver-manager": "webdriver-manager", 22 "webdriver-manager": "webdriver-manager",
23 "ngx-extractor": "ngx-extractor" 23 "ngx-extractor": "ngx-extractor"
24 }, 24 },
25 "license": "GPLv3",
26 "typings": "*.d.ts", 25 "typings": "*.d.ts",
27 "resolutions": { 26 "resolutions": {
28 "video.js": "^7", 27 "video.js": "^7",
diff --git a/client/src/standalone/player/README.md b/client/src/standalone/player/README.md
new file mode 100644
index 000000000..5cb5a1d10
--- /dev/null
+++ b/client/src/standalone/player/README.md
@@ -0,0 +1,3 @@
1# @peertube/embed-api
2
3See https://docs.joinpeertube.org/#/api-embed-player
diff --git a/client/src/standalone/player/package.json b/client/src/standalone/player/package.json
new file mode 100644
index 000000000..a521515e5
--- /dev/null
+++ b/client/src/standalone/player/package.json
@@ -0,0 +1,22 @@
1{
2 "name": "@peertube/embed-api",
3 "version": "1.0.0",
4 "description": "API to communicate with the PeerTube player embed",
5 "scripts": {
6 "test": "echo \"Error: no test specified\" && exit 1"
7 },
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/Chocobozzz/PeerTube.git"
11 },
12 "keywords": [
13 "peertube",
14 "embed"
15 ],
16 "author": "Chocobozzz",
17 "license": "AGPL-3.0",
18 "bugs": {
19 "url": "https://github.com/Chocobozzz/PeerTube/issues"
20 },
21 "homepage": "https://github.com/Chocobozzz/PeerTube#readme"
22}
diff --git a/package.json b/package.json
index 7580cefe4..5c12bd33c 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
3 "description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.", 3 "description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
4 "version": "2.0.0", 4 "version": "2.0.0",
5 "private": true, 5 "private": true,
6 "licence": "AGPLv3", 6 "licence": "AGPL-3.0",
7 "engines": { 7 "engines": {
8 "node": ">=8.x" 8 "node": ">=8.x"
9 }, 9 },
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md
index 3a35a539c..c2317a030 100644
--- a/support/doc/api/embeds.md
+++ b/support/doc/api/embeds.md
@@ -119,4 +119,8 @@ Fired when playback transitions between states, such as `pausing` and `playing`.
119 119
120## Event `resolutionUpdate` 120## Event `resolutionUpdate`
121 121
122Fired when the available resolutions have changed, or when the currently selected resolution has changed. Listener should call `getResolutions()` to get the updated information. \ No newline at end of file 122Fired when the available resolutions have changed, or when the currently selected resolution has changed. Listener should call `getResolutions()` to get the updated information.
123
124## Event `volumeChange`
125
126Fired when the player volume changed.