=== Strimy Video === Contributors: strimy Tags: video, embed, oembed, streaming, shortcode Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 8.0 Stable tag: 1.2.9 License: GPL-2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt Integrate STRIMY videos into WordPress using oEmbed and custom shortcodes. == Description == Strimy is a plugin that allows you to easily integrate videos from the STRIMY platform into your WordPress site. With full support for oEmbed, shortcodes, and Gutenberg blocks. = Key Features = * **Automatic oEmbed**: Simply paste the video URL and it will be automatically inserted * **Customizable shortcode**: Full control over appearance and behavior * **Gutenberg block**: Native integration with the block editor * **Elementor widget**: Complete integration with Elementor Page Builder * **Video importer**: Import and sync videos from your STRIMY account * **Universal theme compatibility**: Advanced template system works with any WordPress theme * **Modern video display**: Professional layout with metadata, categories, and responsive design * **Template customization**: Easy theme integration with fallback system * **Autoplay**: Optional autoplay control * **Responsive**: Videos automatically adapt to any device = How to Use = **0. Video Importer** Go to **Strimy Video > Import** to search, import and sync videos from your STRIMY account. **1. Automatic oEmbed** Simply paste your video URL on a separate line: `https://strimy.pro/v/889542830943` **2. Shortcode** Use the [strimy] shortcode with customizable options: `[strimy id="889542830943"]` **3. Gutenberg Block** Search for "Strimy Video" in the block editor and configure visually **4. Elementor Widget** If you have Elementor installed, you'll find the "Strimy Video" widget in the General category with advanced controls for complete customization. = Shortcode Options = * `id` - Video ID (required) * `autoplay` - Automatic playback (true, false) = Automatic Aspect Ratio = The plugin automatically calculates the player height maintaining a 16:9 ratio when: * You don't specify the `height` parameter * Width is a fixed value (e.g: 800px) * Responsive mode is enabled Examples: * `[strimy id="889542830943" width="800px"]` - Height calculated automatically (450px) * `[strimy id="889542830943"]` - Fully responsive with 16:9 ratio = Configuration = Go to **Settings > Strimy** to configure: * API Key (required for importing and accessing private videos) * Autoplay configuration = Video Importer = The plugin includes a powerful importer that allows you to: * Search videos in your STRIMY account * Import videos as custom post types in WordPress * Sync imported videos with the original source * Manage metadata like title, description, duration and views * Organize videos with categories and tags = Theme Compatibility = The plugin includes an advanced template system that ensures perfect compatibility with any WordPress theme: * **Universal fallback system**: Works automatically with any theme without configuration * **Theme customization**: Copy templates to your theme folder for complete control * **Modern video layout**: Professional design with player-first approach * **Responsive design**: Optimized for desktop, tablet, and mobile devices * **Template path**: `wp-content/themes/your-theme/strimy/single-strimy_video.php` The plugin will automatically use your theme's custom template if available, or fall back to the built-in responsive template. == Installation == 1. Upload the plugin to the `/wp-content/plugins/strimy-video/` folder 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to **Settings > Strimy** to configure options 4. Start embedding STRIMY videos! = Automatic Installation = 1. Go to **Plugins > Add New** 2. Search for "Strimy" 3. Install and activate the plugin 4. Configure options in **Settings > Strimy** == Frequently Asked Questions == = Are videos responsive? = Yes, all videos automatically adapt to screen size and the container where they are inserted. = Does it work with the classic editor? = Yes, the plugin is compatible with both the block editor (Gutenberg) and WordPress classic editor. = Can I use multiple videos on the same page? = Of course, you can insert as many videos as you need on a single page or post. = Does the plugin affect my site's speed? = No, the plugin is very lightweight and videos load asynchronously without affecting your site's performance. = How do I customize the video display for my theme? = The plugin includes a universal template system. To customize: 1. Create folder: `wp-content/themes/your-theme/strimy/` 2. Copy: `single-strimy_video.php` from the plugin's templates folder 3. Modify the copied file to match your theme's design 4. The plugin will automatically use your custom template = Does it work with any WordPress theme? = Yes! The plugin includes an advanced Template Loader system that ensures compatibility with any WordPress theme, including popular ones like Astra, OceanWP, GeneratePress, and custom themes. == Changelog == = 1.2.9 = * FIXED: Removed all inline `