X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Fpeertube-videojs-typings.ts;h=8afb424a780c7b3602729f6d9b0fb3f0711bb1ef;hb=a45050e09edf6e2d74b6db48196f44ef9ce8fa58;hp=4a6c8024767cd20f15c45a1e941ba60315879fcf;hpb=4024c44f9027a32809931de0692d40d001df721c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index 4a6c80247..8afb424a7 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts @@ -7,7 +7,9 @@ import { PlayerMode } from './peertube-player-manager' import { PeerTubePlugin } from './peertube-plugin' import { PlaylistPlugin } from './playlist/playlist-plugin' import { EndCardOptions } from './upnext/end-card' +import { StatsCardOptions } from './stats/stats-card' import { WebTorrentPlugin } from './webtorrent/webtorrent-plugin' +import { StatsForNerdsPlugin } from './stats/stats-plugin' declare module 'video.js' { @@ -36,6 +38,8 @@ declare module 'video.js' { bezels (): void + stats (options?: StatsCardOptions): StatsForNerdsPlugin + qualityLevels (): QualityLevels textTracks (): TextTrackList & { @@ -195,6 +199,9 @@ type PlayerNetworkInfo = { uploaded: number numPeers: number } + + // In bytes + bandwidthEstimate: number } type PlaylistItemOptions = {