aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-videojs-typings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-videojs-typings.ts')
-rw-r--r--client/src/assets/player/peertube-videojs-typings.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts
index cf92e5f08..8afb424a7 100644
--- a/client/src/assets/player/peertube-videojs-typings.ts
+++ b/client/src/assets/player/peertube-videojs-typings.ts
@@ -9,6 +9,7 @@ import { PlaylistPlugin } from './playlist/playlist-plugin'
9import { EndCardOptions } from './upnext/end-card' 9import { EndCardOptions } from './upnext/end-card'
10import { StatsCardOptions } from './stats/stats-card' 10import { StatsCardOptions } from './stats/stats-card'
11import { WebTorrentPlugin } from './webtorrent/webtorrent-plugin' 11import { WebTorrentPlugin } from './webtorrent/webtorrent-plugin'
12import { StatsForNerdsPlugin } from './stats/stats-plugin'
12 13
13declare module 'video.js' { 14declare module 'video.js' {
14 15
@@ -37,7 +38,7 @@ declare module 'video.js' {
37 38
38 bezels (): void 39 bezels (): void
39 40
40 stats (options?: Partial<StatsCardOptions>): any 41 stats (options?: StatsCardOptions): StatsForNerdsPlugin
41 42
42 qualityLevels (): QualityLevels 43 qualityLevels (): QualityLevels
43 44
@@ -198,6 +199,9 @@ type PlayerNetworkInfo = {
198 uploaded: number 199 uploaded: number
199 numPeers: number 200 numPeers: number
200 } 201 }
202
203 // In bytes
204 bandwidthEstimate: number
201} 205}
202 206
203type PlaylistItemOptions = { 207type PlaylistItemOptions = {