=== 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.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight YouTube embed block with lazy loading and smart sidebar support.

== Description ==

Tubelastica is a lightweight YouTube embed block for WordPress.

It helps you add a single YouTube video to posts, pages, and block-based widget areas. It is especially useful for narrow WordPress sidebars, where a full YouTube player is not always the best choice.

Instead of displaying a full player, Tubelastica can display a clean YouTube thumbnail with an optional custom link. Clicking the thumbnail can open a full post on your own website, where the video is displayed properly, helping keep visitors engaged instead of sending them directly to YouTube.

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
* Sidebar-friendly display
* Optional custom link to your own post or page
* Helps keep visitors on your website
* Lazy loading enabled by default
* Optional caption support
* Width control for posts and pages
* Compatible with block-based widget areas
* Compatible with Blockbase and other Full Site Editing (FSE) themes
* Lightweight and fast
* No coding required

== 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.
5. Optionally add a custom link and caption.
6. Publish your page or post.

== Frequently Asked Questions ==

= What makes Tubelastica different from a standard YouTube embed? =

Tubelastica is designed to work well in posts, pages, and narrow sidebar widget areas. You can also use an optional custom link so a video thumbnail opens a full post on your own website instead of linking directly to YouTube.

= Does Tubelastica support sidebars? =

Yes. Tubelastica works with block-based widget areas and is optimized for sidebar use.

= Does Tubelastica work with Blockbase? =

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

= Switching from another YouTube plugin? =

If you are moving from another YouTube plugin, we recommend testing Tubelastica with one video first in a local environment (such as XAMPP or LocalWP) or on a staging site before updating your live website.

== 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.4 =

* Improved plugin description.
* Updated feature list.
* Improved documentation.

= 1.8.3 =

* Added Blockbase and FSE theme compatibility note.
* Updated FAQ.

= 1.8.2 =

* Simplified FAQ.
* Improved documentation.

== Upgrade Notice ==

= 1.8.4 =

Improved documentation and clarified the plugin's sidebar features and custom link functionality.
