=== Product2Clip — Product Video Generator ===
Contributors: product2clip.com
Tags: woocommerce, product video, video generator, marketing video, clip generator
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 10.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate product marketing videos from any WooCommerce product page with one click.

== Description ==

Product2Clip turns your WooCommerce product pages into short marketing videos (clips). Connect your Product2Clip account via API key and generate clips directly from the product edit screen.

**Features:**

* One-click clip generation from the Edit Product screen
* Automatic product data extraction (title, images, price, description)
* Real-time rendering status with progress indicator
* Edit clips in the full Product2Clip editor (opens in new tab)
* Download rendered videos directly from the product page
* Configurable default theme and duration

**Requirements:**

* WooCommerce 8.0 or higher
* A Product2Clip account with an API key

== Installation ==

1. Upload the `product2clip` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to **WooCommerce → Settings → Product2Clip**
4. Enter your API key and click **Test Connection**
5. Open any product and find the Product2Clip panel in the sidebar

== Frequently Asked Questions ==

= Where do I get an API key? =

Sign up at [product2clip.com](https://product2clip.com), then go to **API Keys** in the sidebar to create a key.

= How long does clip generation take? =

Typically 1–3 minutes depending on clip duration and server load. The plugin polls for status automatically.

= Can I edit the generated clip? =

Yes! Click the **Edit** button to open the clip in the full Product2Clip editor on your browser. You can adjust scenes, text, effects, and music.

= Does this work without WooCommerce? =

No, this plugin requires WooCommerce. It hooks into the product edit screen and uses WooCommerce product data.

== Changelog ==

= 1.0.0 =

* Initial release
* Settings page under WooCommerce → Settings → Product2Clip
* API key configuration with Test Connection
* Product sidebar panel with Generate Clip button
* Real-time render status polling
* Download and Edit links for completed clips
