Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add bar when loading chunks

Chocobozzz998acc221505
diff --git a/client/package.json b/client/package.json
index 401f6bd61b..96efcd5193 100644
--- a/client/package.json
+++ b/client/package.json
@@ -38,6 +38,7 @@
"@angularclass/hmr": "^2.1.3",
"@ngx-loading-bar/core": "^1.1.1",
"@ngx-loading-bar/http-client": "^1.0.0-rc.1",
+ "@ngx-loading-bar/router": "^1.2.0",
"@ngx-meta/core": "^5.0.0",
"@types/core-js": "^0.9.28",
"@types/lodash-es": "^4.17.0",
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts
index 36dbe8b5cc..7088319655 100644
--- a/client/src/app/core/core.module.ts
+++ b/client/src/app/core/core.module.ts
@@ -5,6 +5,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
import { RouterModule } from '@angular/router'
import { LoadingBarModule } from '@ngx-loading-bar/core'
import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
+import { LoadingBarRouterModule } from '@ngx-loading-bar/router'
import { SimpleNotificationsModule } from 'angular2-notifications'
import { ModalModule } from 'ngx-bootstrap/modal'
@@ -26,6 +27,7 @@ import { ServerService } from './server'
SimpleNotificationsModule.forRoot(),
LoadingBarHttpClientModule,
+ LoadingBarRouterModule,
LoadingBarModule.forRoot()
],
diff --git a/client/yarn.lock b/client/yarn.lock
index 8989305475..003832adf2 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -203,6 +203,13 @@
"@ngx-loading-bar/core" "1.2.0"
tslib "^1.7.1"
+"@ngx-loading-bar/router@^1.2.0":
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/@ngx-loading-bar/router/-/router-1.2.0.tgz#f6a61d011b9bd656102250694e5cc6b0c0fe2d53"
+ dependencies:
+ "@ngx-loading-bar/core" "1.2.0"
+ tslib "^1.7.1"
+
"@ngx-meta/core@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@ngx-meta/core/-/core-5.0.0.tgz#9ae9107f7bce169870caa5a1b8b3533ae46bc4c6"