@give-tech/ec-player 0.0.1-beta.29 → 0.0.1-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/player/EcPlayerCore.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3721,6 +3721,10 @@ class EcPlayerCore {
|
|
|
3721
3721
|
this.pendingRenderer = null;
|
|
3722
3722
|
}
|
|
3723
3723
|
await this.player.load(url);
|
|
3724
|
+
if (this.player instanceof HLSPlayer) {
|
|
3725
|
+
this.detectedFormat = this.player.isFMP4 ? "hls-fmp4" : "hls-ts";
|
|
3726
|
+
console.log("[EcPlayerCore] Updated format after playlist parse:", this.detectedFormat);
|
|
3727
|
+
}
|
|
3724
3728
|
await this.player.initDecoder();
|
|
3725
3729
|
this.callbacks.onStateChange?.({ isLoaded: true });
|
|
3726
3730
|
} finally {
|