From a600e2edacce6132e1799b743e57e6dd134a491a Mon Sep 17 00:00:00 2001 From: Andriy Lysnevych Date: Sat, 13 Jan 2024 00:33:55 +0200 Subject: [PATCH] Use the latest Clappr player for the demo --- demo/index.html | 46 ++++++++++++++-------- packages/p2p-media-loader-core/src/core.ts | 2 +- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/demo/index.html b/demo/index.html index e82de8c5..c5468162 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,20 +1,32 @@ - - - - Vite + React + TS - - - - - - - -
- - + + + + Vite + React + TS + + + + + + + +
+ + diff --git a/packages/p2p-media-loader-core/src/core.ts b/packages/p2p-media-loader-core/src/core.ts index 80a12ecf..ee233c93 100644 --- a/packages/p2p-media-loader-core/src/core.ts +++ b/packages/p2p-media-loader-core/src/core.ts @@ -164,7 +164,7 @@ export class Core { return new HybridLoader( manifestResponseUrl, segment, - this.streamDetails as Required, + this.streamDetails, this.settings, this.bandwidthCalculators, this.segmentStorage,