=== Embed Anything for Elementor ===
Contributors: sshahadatgsm
Author URI: https://wperrorfix.com/
Tags: elementor iframe, iframe for elementor, embed, custom iframe, embed anything to elementor
Requires at least: 6.0
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed responsive iframes easily with Embed Anything Iframe for Elementor. Customize your WordPress site with flexible iframe options.

== Description ==

Embed Anything for Elementor adds iframes with responsive height, lazy loading, custom IDs, and auto-refresh. Perfect for videos, maps, PDFs.

### Key Features
- **Responsive Design**: Adjust iframe height for desktop, tablet, and mobile views.
- **Auto Height**: Dynamically adjust iframe height based on content (cross-domain support via postMessage).
- **Lazy Loading**: Improve page speed with optional lazy loading.
- **Auto-Refresh**: Set intervals to refresh iframes automatically.
- **Customizable**: Add custom IDs and attributes for advanced styling.
- **Scrollbars Control**: Enable or disable scrollbars as needed.

Ideal for developers and designers looking to integrate external content without compromising site performance or design integrity.

== Installation ==

1. Install the plugin via the WordPress plugin directory or upload the `embed-anything-elementor` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Open an Elementor page or create a new one.
4. Add the "Embed Anything Iframe" widget from the Elementor editor.
5. Configure the widget settings (e.g., source URL, height, auto height) and publish your page.

== Frequently Asked Questions ==

= Does this plugin work with all Elementor versions? =
Yes, it is compatible with Elementor 3.0 and above, tested up to version 3.31.2.

= Can I embed cross-domain content? =
Yes, but for auto height to work with cross-domain iframes, the embedded page must support height communication via postMessage.

= Why isn’t the auto-refresh working? =
Ensure the refresh interval is set to a positive value (e.g., 15 seconds). Cross-origin restrictions might require a fallback reload method, which is handled by the plugin.

= How do I troubleshoot issues? =
Enable WP_DEBUG in `wp-config.php` and check `wp-content/debug.log` for errors. Contact support if needed.

== Screenshots ==

1. Widget settings panel in Elementor.
2. Responsive height adjustment in preview mode.
3. Lazy load, Custom ID & Custom Attributes


== Changelog ==

= 1.0.0 =
* Initial release with core features: responsive height, auto height, lazy load, scrollbars, and auto-refresh.

== Upgrade Notice ==

= 1.0.0 =
Initial release. No upgrades available yet.

== External Services ==

This plugin uses the Google Docs Viewer service to embed documents (e.g., PDFs, Word documents) within Elementor widgets for display on your website.

- **Service Purpose**: The Google Docs Viewer service is used to generate an embedded view of documents by sending the document URL to Google's servers.
- **Data Sent**: The plugin sends the URL of the document to be embedded each time the widget is loaded on a page. No additional user data is sent unless specified by the website configuration.
- **Service Provider**: Google Docs Viewer, provided by Google.
- **Terms of Service**: https://policies.google.com/terms
- **Privacy Policy**: https://policies.google.com/privacy

== Additional Notes ==

### Support
For assistance, visit our support forum or contact us on our [WpErrorFix site](https://wperrorfix.com/contact/).


This plugin is optimized for SEO and performance, ensuring your embedded content ranks well and loads efficiently.