@thestatic-tv/dcl-sdk 2.5.5 → 2.5.6
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 +0 -3
- package/dist/index.mjs +1 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3806,9 +3806,6 @@ var StaticTVClient = class {
|
|
|
3806
3806
|
volume: 1
|
|
3807
3807
|
});
|
|
3808
3808
|
}
|
|
3809
|
-
import_ecs3.Material.setBasicMaterial(screen, {
|
|
3810
|
-
texture: import_ecs3.Material.Texture.Video({ videoPlayerEntity: screen })
|
|
3811
|
-
});
|
|
3812
3809
|
if (!this._videoEventsRegistered) {
|
|
3813
3810
|
this._registerVideoEvents();
|
|
3814
3811
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3449,7 +3449,7 @@ function setupStaticUI(client) {
|
|
|
3449
3449
|
}
|
|
3450
3450
|
|
|
3451
3451
|
// src/StaticTVClient.ts
|
|
3452
|
-
import { VideoPlayer,
|
|
3452
|
+
import { VideoPlayer, videoEventsSystem, VideoState } from "@dcl/sdk/ecs";
|
|
3453
3453
|
import * as utils from "@dcl-sdk/utils";
|
|
3454
3454
|
var DEFAULT_BASE_URL = "https://thestatic.tv/api/v1/dcl";
|
|
3455
3455
|
var DEFAULT_FALLBACK_VIDEO = "https://media.thestatic.tv/fallback-loop.mp4";
|
|
@@ -3763,9 +3763,6 @@ var StaticTVClient = class {
|
|
|
3763
3763
|
volume: 1
|
|
3764
3764
|
});
|
|
3765
3765
|
}
|
|
3766
|
-
Material.setBasicMaterial(screen, {
|
|
3767
|
-
texture: Material.Texture.Video({ videoPlayerEntity: screen })
|
|
3768
|
-
});
|
|
3769
3766
|
if (!this._videoEventsRegistered) {
|
|
3770
3767
|
this._registerVideoEvents();
|
|
3771
3768
|
}
|
package/package.json
CHANGED