aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/components/watch/videos-watch.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-26 20:40:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-26 20:40:03 +0200
commit157cb9c9713e08ff70078660a32dd77ecb87eabc (patch)
tree4a9066f820be014fcbddf582fd6b92bdb006dccf /client/angular/videos/components/watch/videos-watch.component.ts
parenta99593ed9f3244e75f7db793ba6716754d664573 (diff)
downloadPeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.tar.gz
PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.tar.zst
PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.zip
Add a loader animation when loading the videos list
Diffstat (limited to 'client/angular/videos/components/watch/videos-watch.component.ts')
-rw-r--r--client/angular/videos/components/watch/videos-watch.component.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/angular/videos/components/watch/videos-watch.component.ts b/client/angular/videos/components/watch/videos-watch.component.ts
index 6e212e8bc..e551e1f9a 100644
--- a/client/angular/videos/components/watch/videos-watch.component.ts
+++ b/client/angular/videos/components/watch/videos-watch.component.ts
@@ -3,6 +3,8 @@ import { RouteParams, CanDeactivate, ComponentInstruction } from '@angular/route
3 3
4import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; 4import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
5 5
6import { LoaderComponent } from '../../loader.component';
7
6// TODO import it with systemjs 8// TODO import it with systemjs
7declare var WebTorrent: any; 9declare var WebTorrent: any;
8 10
@@ -13,6 +15,7 @@ import { VideosService } from '../../videos.service';
13 selector: 'my-video-watch', 15 selector: 'my-video-watch',
14 templateUrl: 'app/angular/videos/components/watch/videos-watch.component.html', 16 templateUrl: 'app/angular/videos/components/watch/videos-watch.component.html',
15 styleUrls: [ 'app/angular/videos/components/watch/videos-watch.component.css' ], 17 styleUrls: [ 'app/angular/videos/components/watch/videos-watch.component.css' ],
18 directives: [ LoaderComponent ],
16 pipes: [ BytesPipe ] 19 pipes: [ BytesPipe ]
17}) 20})
18 21