Files
hyperframes/packages
Miguel Ángel 06e7fc6269 perf(studio): use lightweight iframe.src reload instead of Player teardown
Content refreshes (paste, move, resize, delete, asset drop) previously
triggered setRefreshKey which changed the Player's React key, causing
full web-component destruction + iframe teardown + crossfade animation
+ re-initialization of all event listeners and asset polling.

Now NLELayout intercepts refreshKey changes and calls refreshPlayer()
which just appends a cache-busting _t param to the iframe src. The
Player web component stays alive, event listeners persist, and the
reload is ~10x faster with no "waiting for media" flash.

Key-based teardown is preserved for actual structural changes (project
switch, composition drill-down via directUrl change).
2026-05-15 23:24:58 -07:00
..
2026-05-15 21:25:26 -07:00
2026-05-15 21:25:26 -07:00
2026-05-15 21:25:26 -07:00
2026-05-15 21:25:26 -07:00
2026-05-15 21:25:26 -07:00
2026-05-15 21:25:26 -07:00