=== Tubelastica ===
Contributors: digidepot
Tags: youtube, video, embed, lazy-loading, sidebar
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable Tag: 1.8.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight YouTube embed block with lazy loading and smart behavior for posts and sidebars.

== Description ==

Tubelastica is a lightweight YouTube embed block for WordPress.

It helps users add a single YouTube video easily in posts, pages, and block-based widget areas. The plugin is designed to work smoothly in narrow sidebar areas, where standard video embeds may cause layout or control issues.

Watch the demo video:
[Watch Demo Video](https://youtu.be/tk6pFwCn2H0)

Read the setup guide:
[Read the Tubelastica Setup Guide](https://garmahis.com/tubelastica-a-simple-way-to-add-youtube-videos-to-wordpress/)

== Features ==

* Embed a single YouTube video using a block
* Lazy loading enabled by default for better performance
* Optional caption support
* Width control for post and page content
* Sidebar-friendly behavior to prevent layout issues
* Compatible with block-based widget areas
* Lightweight and fast
* Custom link option to help keep visitors on your website

== Installation ==

1. Upload the tubelastica folder to the /wp-content/plugins/ directory
2. Activate the plugin through the Plugins menu in WordPress
3. Add the Tubelastica block in the block editor or widget editor
4. Paste a YouTube URL and optionally add a caption

== Frequently Asked Questions ==

= Does Tubelastica support sidebars? =

Yes. Tubelastica works with block-based widget areas.

= Switching from another video plugin? =

We recommend testing Tubelastica on a draft post before replacing your existing video plugin. This helps ensure everything displays as expected on your site.

= Does Tubelastica work with Blockbase? =

Yes. Tubelastica works with Blockbase and other Full Site Editing (FSE) themes.

== Screenshots ==

1. Tubelastica block in the post editor
2. Embedded YouTube video in post content
3. Tubelastica block used in a sidebar widget

== Changelog ==

= 1.8.2 =

* Simplified FAQ section
* Improved plugin documentation
* Kept demo video and setup guide links

= 1.8.1 =

* Added demo video link
* Added setup guide link
* Added custom link feature description
* Improved editor interface layout

== Upgrade Notice ==

= 1.8.2 =

Simplified FAQ section and improved plugin documentation.
