diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-04-12 10:26:30 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-04-28 09:05:44 +0200 |
commit | ff563914bb10728301a24fb9e548c9efb62387eb (patch) | |
tree | c998ad721f134404d3510cff2906e88ea03d8301 /client/src/assets/player/peertube-player-local-storage.ts | |
parent | 0979075453b380fa8e3694db3f460e822f046c35 (diff) | |
download | PeerTube-ff563914bb10728301a24fb9e548c9efb62387eb.tar.gz PeerTube-ff563914bb10728301a24fb9e548c9efb62387eb.tar.zst PeerTube-ff563914bb10728301a24fb9e548c9efb62387eb.zip |
add stats videojs plugin
Diffstat (limited to 'client/src/assets/player/peertube-player-local-storage.ts')
-rw-r--r-- | client/src/assets/player/peertube-player-local-storage.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-player-local-storage.ts b/client/src/assets/player/peertube-player-local-storage.ts index cf2cfb472..80aceb239 100644 --- a/client/src/assets/player/peertube-player-local-storage.ts +++ b/client/src/assets/player/peertube-player-local-storage.ts | |||
@@ -45,6 +45,7 @@ function saveTheaterInStore (enabled: boolean) { | |||
45 | } | 45 | } |
46 | 46 | ||
47 | function saveAverageBandwidth (value: number) { | 47 | function saveAverageBandwidth (value: number) { |
48 | /** used to choose the most fitting resolution */ | ||
48 | return setLocalStorage('average-bandwidth', value.toString()) | 49 | return setLocalStorage('average-bandwidth', value.toString()) |
49 | } | 50 | } |
50 | 51 | ||