Tubelastica

外掛說明

Tubelastica provides a simple and reliable way to embed YouTube videos using a single Gutenberg block.

By default, the block behaves like a standard YouTube embed and plays videos inline. In narrow areas such as sidebars, the layout adapts to maintain a clean design and good user experience.

The plugin focuses on minimal output and compatibility. Videos are displayed using a standard 16:9 responsive layout, without decorative borders, colors, or additional UI elements.

External links are not supported.

Features

  • Clean, responsive YouTube embeds
  • Optimized for narrow sidebars
  • Optional custom link support
  • Optional caption support
  • Lazy loading using standard iframe embeds
  • No settings pages
  • No external assets
  • No tracking, ads, or upsells

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Tubelastica

安裝方式

  1. Upload the tubelastica folder to the /wp-content/plugins/ directory, or install the ZIP file via the WordPress plugin installer.
  2. Activate the plugin.
  3. Edit a post, page, or widget area.
  4. Add the Tubelastica block.
  5. Paste a YouTube video URL and publish.

常見問題集

Why do I see an image instead of a video in the sidebar?

In narrow areas such as sidebars, Tubelastica may display a clickable video thumbnail to preserve layout and usability.

What happens if I do not set a custom link?

If the custom link field is empty, the block behaves like a normal YouTube embed and plays the video inline.

Where should a custom link point to?

The custom link should point to a page where the video can be watched, such as a post, page, or video watch page.

Are external links supported?

No. External links are not supported.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Tubelastica〉的開發相關工作。

參與者

將〈Tubelastica〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.7.3

  • Removed remote script dependencies
  • Improved responsive layout
  • Improved sidebar compatibility
  • Code cleanup and stability improvements