=== Video Embedder for Strimly ===
Contributors: mkariti, strimly
Tags: video, embed, shortcode, streaming, responsive
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.1.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Easily embed Strimly.io videos with shortcodes and blocks. Features secure API authentication and video library management.

== Description ==

Video Embedder for Strimly is a powerful WordPress plugin that allows you to easily embed Strimly.io videos in your WordPress site. Whether you're a content creator, educator, or business owner, this plugin provides seamless video integration with advanced features.

= Key Features =

* **Video Library Management** - View and manage all your Strimly videos in a beautiful admin interface
* **Shortcode Support** - Easy video embedding with `[strimly_video]` shortcode
* **Quality Selector** - Manual quality control for optimal viewing experience
* **Auto-embedding** - Automatically convert Strimly URLs to embeds
* **Responsive Design** - Works perfectly on all devices and screen sizes
* **HLS Support** - Advanced video streaming with adaptive bitrate
* **Admin Interface** - Easy configuration and management
* **Copy Options** - Copy both iframe embed code and shortcode

= How to Use =

1. **Install and Activate** the plugin
2. **Configure Settings** - Enter your Strimly.io email address
3. **Test Connection** - Verify your setup is working
4. **Embed Videos** - Use shortcodes or copy embed code

= Shortcode Usage =

Use the shortcode `[strimly_video]` in your posts and pages:

`[strimly_video id="your-video-id"]`

= Parameters =

* `id` (required) - Your Strimly video ID
* `width` (optional) - Video width (default: 100%)
* `height` (optional) - Video height (default: 400)

= Examples =

```
[strimly_video id="abc123"]
[strimly_video id="abc123" width="800" height="450"]
```

= Video Library =

1. Go to **Strimly Videos** → **All Videos**
2. View all your videos in a beautiful grid
3. Click **Play** to preview videos directly in the card
4. Click **Copy Embed Code** or **Copy Shortcode** to get embed code

= Auto-embedding =

Paste any Strimly.io video URL in your content and it will automatically be converted to an embed.

= Technical Requirements =

* WordPress 5.0 or higher
* PHP 7.4 or higher
* Modern web browser with HLS support

= Browser Support =

* Chrome 30+
* Firefox 23+
* Safari 6+
* Edge 12+
* Internet Explorer 11+

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/strimly-video-embedder` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to **Strimly Videos** → **Settings** to configure the plugin
4. Enter your Strimly.io email address and test the connection

== Frequently Asked Questions ==

= What is Strimly.io? =

Strimly.io is a video hosting platform that provides HLS streaming, adaptive bitrate, and advanced video management features.

= Do I need a Strimly.io account? =

Yes, you need a Strimly.io account to use this plugin. You can sign up at https://strimly.io

= How do I get my video ID? =

Your video ID is available in your Strimly.io dashboard or through the plugin's video library.

= Can I customize the video player? =

Yes, you can customize width, height, and other parameters using the shortcode attributes.

= Is the plugin responsive? =

Yes, the plugin is fully responsive and works on all devices and screen sizes.

= What video formats are supported? =

The plugin supports HLS streaming format, which provides adaptive bitrate for optimal viewing experience.

= Can I embed videos on any page? =

Yes, you can embed videos on any post, page, or custom post type using the shortcode.

= Is the plugin secure? =

Yes, the plugin follows WordPress security best practices including nonce verification, capability checks, and data sanitization.

== Screenshots ==

1. Video Library - View and manage all your videos
2. Settings Page - Configure your Strimly.io connection
3. Shortcode Usage - Easy embedding in posts and pages
4. Responsive Design - Works on all devices

== Changelog ==

= 1.1.4 =
* COMPLIANCE: Fixed WordPress Plugin Directory review issues
* Fix: Added 'mkariti' to Contributors list as required
* Fix: Replaced all inline CSS/JS with properly enqueued assets using wp_enqueue_script/style
* Enhancement: Improved admin script loading to only load on plugin pages
* Security: Enhanced AJAX nonce handling with proper wp_localize_script usage

= 1.0.6 =
* SECURITY: Removed email-only authentication fallback - API key is now mandatory
* Enhancement: Strengthened WordPress API security by requiring API key authentication
* Important: Users must generate API key at https://strimly.io/account/settings

= 1.0.5 =
* Fix: WordPress Plugin Directory compliance - reduced tags to 5 maximum
* Fix: Shortened description to meet 150 character limit for plugin directory
* Update: Optimized plugin metadata for better WordPress.org compatibility

= 1.0.4 =
* Fix: Improved subscription status display and plan information
* Enhancement: Better error handling for API key authentication
* Update: Enhanced Settings page with proper Free plan display
* Improvement: More robust authentication flow for WordPress integration

= 1.0.3 =
* Security: API key authentication is now required for enhanced security
* Update: API key field changed from optional to required
* Improvement: Enhanced connection with Strimly.io API for better reliability
* Security: Deprecated email-only authentication for better data protection

= 1.0.2 =
* Update: Author information and contributors updated
* Update: Author URI now points to Claritee LinkedIn profile
* Maintenance: Version bump for new release

= 1.0.1 =
* Fix: Auto-embed no longer rewrites Strimly links inside iframe attributes
* Improvement: Robust URL decoding before ID extraction

= 1.0.0 =
* Initial release
* Video library functionality
* Shortcode support
* Quality selector
* Auto-embedding
* Admin interface
* Responsive design
* Copy embed code and shortcode options
* Security improvements
* WordPress 6.8 compatibility

== Upgrade Notice ==

= 1.0.1 =
Fixes iframe embeds breaking due to auto-embed rewrite. Update recommended.

= 1.0.0 =
Initial release of Strimly Video Embedder plugin.

== Support ==

For support and documentation, visit:
* **Website**: https://strimly.io
* **Documentation**: https://strimly.io/docs
* **Support**: https://strimly.io/support

== Credits ==

* **Video.js** - Video player library
* **Strimly.io** - Video hosting platform
* **WordPress** - Content management system 