aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/theater-button.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-18 09:46:58 +0200
committerChocobozzz <me@florianbigard.com>2018-06-18 10:26:19 +0200
commit7b3a99d51716e404bdea0cef8d1f994aab0e8aac (patch)
treef1a07e610a1db0afd9d08083a148381ae1eaf0cf /client/src/assets/player/theater-button.ts
parentf5a2dc48eb80ab7842cec1da7269b5d153208689 (diff)
downloadPeerTube-7b3a99d51716e404bdea0cef8d1f994aab0e8aac.tar.gz
PeerTube-7b3a99d51716e404bdea0cef8d1f994aab0e8aac.tar.zst
PeerTube-7b3a99d51716e404bdea0cef8d1f994aab0e8aac.zip
Move player local storage functions in their own file
Diffstat (limited to 'client/src/assets/player/theater-button.ts')
-rw-r--r--client/src/assets/player/theater-button.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/theater-button.ts b/client/src/assets/player/theater-button.ts
index 1d330e08f..bad737eda 100644
--- a/client/src/assets/player/theater-button.ts
+++ b/client/src/assets/player/theater-button.ts
@@ -1,5 +1,6 @@
1import { VideoJSComponentInterface, videojsUntyped } from './peertube-videojs-typings' 1import { VideoJSComponentInterface, videojsUntyped } from './peertube-videojs-typings'
2import { getStoredTheater, saveTheaterInStore } from './utils' 2import { saveTheaterInStore } from './peertube-player-local-storage'
3import { getStoredTheater } from './peertube-player-local-storage'
3 4
4const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button') 5const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button')
5class TheaterButton extends Button { 6class TheaterButton extends Button {