Add package.json for embed api
This commit is contained in:
parent
6377a9f2b0
commit
478924a044
|
@ -2,7 +2,7 @@
|
||||||
"name": "peertube-client",
|
"name": "peertube-client",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"licence": "GPLv3",
|
"license": "AGPL-3.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Chocobozzz",
|
"name": "Chocobozzz",
|
||||||
"email": "chocobozzz@cpy.re",
|
"email": "chocobozzz@cpy.re",
|
||||||
|
@ -22,7 +22,6 @@
|
||||||
"webdriver-manager": "webdriver-manager",
|
"webdriver-manager": "webdriver-manager",
|
||||||
"ngx-extractor": "ngx-extractor"
|
"ngx-extractor": "ngx-extractor"
|
||||||
},
|
},
|
||||||
"license": "GPLv3",
|
|
||||||
"typings": "*.d.ts",
|
"typings": "*.d.ts",
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"video.js": "^7",
|
"video.js": "^7",
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# @peertube/embed-api
|
||||||
|
|
||||||
|
See https://docs.joinpeertube.org/#/api-embed-player
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"name": "@peertube/embed-api",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "API to communicate with the PeerTube player embed",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/Chocobozzz/PeerTube.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"peertube",
|
||||||
|
"embed"
|
||||||
|
],
|
||||||
|
"author": "Chocobozzz",
|
||||||
|
"license": "AGPL-3.0",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/Chocobozzz/PeerTube/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/Chocobozzz/PeerTube#readme"
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
"description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
|
"description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"licence": "AGPLv3",
|
"licence": "AGPL-3.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.x"
|
"node": ">=8.x"
|
||||||
},
|
},
|
||||||
|
|
|
@ -119,4 +119,8 @@ Fired when playback transitions between states, such as `pausing` and `playing`.
|
||||||
|
|
||||||
## Event `resolutionUpdate`
|
## Event `resolutionUpdate`
|
||||||
|
|
||||||
Fired when the available resolutions have changed, or when the currently selected resolution has changed. Listener should call `getResolutions()` to get the updated information.
|
Fired when the available resolutions have changed, or when the currently selected resolution has changed. Listener should call `getResolutions()` to get the updated information.
|
||||||
|
|
||||||
|
## Event `volumeChange`
|
||||||
|
|
||||||
|
Fired when the player volume changed.
|
||||||
|
|
Loading…
Reference in New Issue