== Changelog ==

= 1.1.0 =
* Fixed: lazy embeds with live observe reloaded on every scroll pass; they now load once.
* Fixed: load margin is per block again (was: largest value on the page, with a hidden 50px floor).
* Fixed: live observe now detects embeds inserted after page load (sliders, tabs, AJAX); renamed "Watch for dynamic content".
* Fixed: host-based YouTube detection; other domains using /embed/<11 chars> are no longer rewritten to YouTube.
* Fixed: Vimeo channel, group, player and unlisted (hash) links are recognised.
* Fixed: YouTube start times and playlists are preserved.
* Fixed: block icon renders at 24px in the current editor colour instead of an 800px black square.
* Fixed: editor strings are translatable (missing wp_set_script_translations).
* Fixed: render_block filter no longer type-hints its arguments; lazy script enqueues only for lazy embeds.
* Fixed: invalid URLs show an inline error instead of an empty frame.
* Added: responsive aspect ratios (16:9, 4:3, 1:1, 21:9, 9:16).
* Added: YouTube privacy mode (youtube-nocookie.com).
* Added: Replace URL toolbar button, provider badge, inline validation, lazy skeleton placeholder.
* Added: block deprecation support so future markup changes cannot invalidate posts.
* Changed: requires WordPress 6.5+; front-end script loaded with defer; allow list includes fullscreen; data-live is lazy-only.
* Changed: build tooling on @wordpress/scripts 34 and ESLint 9 flat config.

= 1.0.4 =
* Compatibility: tested with WordPress 7.1.
* Compatibility: verified alongside Elementor 4.1 and WooCommerce 10.8.
* Plugin header now declares `Tested up to`; block/package versions synced.
* No functional or markup changes.

= 1.0.3 =
* Updated @wordpress/scripts and development dependencies; rebuilt block editor assets.

= 1.0.2 =
* WordPress 7.0 readiness + PHP 7.4 gate
* Removed missing recliner dependency; native lazy-loading + IntersectionObserver
* Security and accessibility improvements (URL protocol checks, referrer policy, optional sandbox/title/id)
* Script loading only when lazy-load is enabled; plugin constants and translations
* SEO: optional visible caption (`figcaption`), semantic `figure`, noscript HTTPS link fallback; readme/tags/block keywords tuned for discovery.

= 1.0.1 =
* WordPress latest version compatibility issue fixed

= 1.0.0 =
* Initial Release
