@streamscloud/kit 0.2.27-1775513705074 → 0.2.27-1775564173889

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.
@@ -25,6 +25,15 @@ $effect(() => {
25
25
  }
26
26
  });
27
27
  });
28
+ // Eagerly load video on mount when no poster — show first frame immediately
29
+ $effect(() => {
30
+ if (!poster && video && !video.src) {
31
+ untrack(() => {
32
+ video.src = src;
33
+ video.load();
34
+ });
35
+ }
36
+ });
28
37
  // Register player instance in global playback manager
29
38
  $effect(() => untrack(() => {
30
39
  PlaybackManager.registerMountedPlayer(id, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/kit",
3
- "version": "0.2.27-1775513705074",
3
+ "version": "0.2.27-1775564173889",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",