diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-14 10:38:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-14 11:45:14 +0200 |
commit | db5814c0472d2b9e8f0ca6bdd1175ff1cd99ed7c (patch) | |
tree | 06d02916518e091f36d486f0f57e3a963ca7fa9e /client/src/app/+videos/+video-watch/player-styles.component.ts | |
parent | 456c9bfddbccbbb376f6756312a49b4183cefb90 (diff) | |
download | PeerTube-db5814c0472d2b9e8f0ca6bdd1175ff1cd99ed7c.tar.gz PeerTube-db5814c0472d2b9e8f0ca6bdd1175ff1cd99ed7c.tar.zst PeerTube-db5814c0472d2b9e8f0ca6bdd1175ff1cd99ed7c.zip |
Move player style in watch component
Diffstat (limited to 'client/src/app/+videos/+video-watch/player-styles.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-watch/player-styles.component.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/player-styles.component.ts b/client/src/app/+videos/+video-watch/player-styles.component.ts new file mode 100644 index 000000000..c02630979 --- /dev/null +++ b/client/src/app/+videos/+video-watch/player-styles.component.ts | |||
@@ -0,0 +1,14 @@ | |||
1 | import { Component, ViewEncapsulation } from '@angular/core' | ||
2 | |||
3 | /* | ||
4 | * Allows to lazy load global player styles in the watch component | ||
5 | */ | ||
6 | |||
7 | @Component({ | ||
8 | selector: 'my-player-styles', | ||
9 | template: '', | ||
10 | styleUrls: [ './player-styles.component.scss' ], | ||
11 | encapsulation: ViewEncapsulation.None | ||
12 | }) | ||
13 | export class PlayerStylesComponent { | ||
14 | } | ||