Simple YouTube Responsive

תיאור

Embed YouTube videos and keept their aspect ratio, just using simple shortcode.

  • Simple shortcode, can be used in the posts or widgets.
  • Using default YouTube Embed Code (iframe), but make it responsive
  • Custom aspect ratio, if you want set different porpotion size.
  • Auto centered position. So if you insert it on your post section, the video always on center-aligned.
  • Lazy Load supported.
  • 100% Free! And no ads or even trackers inside.

Arbitrary section

A brief Markdown Example

Pros:
1. Simple, only using shortcode to use for individual video each shortcode
2. Lazy Load supported
3. Custom parameters for advanced use

Cons:
1. Only for simple use,not for advanced playlist. Embedding one video for each shortcode.

צילומי מסך

התקנה

  1. Install plugin from WordPress menu Plugins > Add New
  2. Activate the plugin
  3. Yay! Well done.
  4. Insert your shortcode to the post, or even widgets. Multiple shortcode is supported.

סקירות

12 באוקטובר 2021
I've been trying all sorts of fixes for several hours now trying to get a YT video to be responsive… iframe, custom CSS code, other plugins, and NONE of them have worked. Except this plugin! Thank you kindly for the code!
13 בנובמבר 2020
You can add a line to your functions.php to make videos responsive if you're doing your own theme. However, if you're not, this plugin works beautifully and gives other options like lazy load, etc. If doing your own theme, add: add_theme_support( 'responsive-embeds' );
7 בינואר 2020
This plugin does exactly what it's supposed to do, and is extremely easy to use. I have tried a few ones with the same purpose, and have to say 'Simple YouTube Responsive' is by far the best. I'm really happy I found out about it. Last but not least, the developer is very kind and answers promptly 🙂 I definitely recommend this plugin to anyone interested in showcasing YouTube videos on their WP website in the easiest way possible!
4 בנובמבר 2019
Your plugin works beautifully and can confirm it's compatible with Gutenberg. 🙂
קראו את כל 11 הסקירות

מפתחים

"Simple YouTube Responsive" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.

תורמים

ניתן לתרגם את "Simple YouTube Responsive" לשפה שלך.

מעוניינים בפיתוח?

עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.

שינויים

3.2.5

  • Small fixes on Cover alt attributes when the title="" has been set

3.2.4

  • Add title="" attributes to the iframe

3.2.3

  • Fix Shortcode documentation (thanks to dbrossa)

3.2.2

  • Tested to WordPress 6.5.2

3.2.1

  • Small fixes: Missing double quote from HTML. Now has been fixed.

3.2

  • Small fixes: Missing inline CSS attributes. Now has been fixed.

3.1

  • Small fixes: Remove double slashes from Javascript link

3.0

  • Prevent XSS attacks via Shortcode (thanks to Darius Sveikauskas and yuyudhn from Patchstack for notifying)
  • Optimized database usage

2.5

  • Bug Fixes: On Lazy Load mode, sometimes the width of video not full 100% as it's container element (as default), caused by Elementor's CSS

2.4

  • Bug Fixes: video player floated to the left on mobile devices

2.3

  • Now you can add your own supported parameters on each shortcode (for advanced use only). See https://developers.google.com/youtube/player_parameters#Parameters for complete list parameters.

2.2.2

  • More custom parameters added: Loop, Fullscreen, Show video controls bar, Start at, End at

2.2.1

  • Little optimization and remove unecessary codes

2.2.0

  • Bug Fixes break WordPress after update

2.1.0

  • Bug Fixes on JavaScript Conflict with another plugin. Special thanks to @jkeasley2 for helping resolve this bugs.

2.0.1

  • Bug Fixes on AMP
  • Added Troubleshoot options: Javascript placing (sometimes YouTube not working if you using Elementor Pro and using Custom Footer Section). And now you can choose how to place the JavaScript.
  • Typo on shortcode guide. For automatic centered, use center="" attribute
  • Placing Stylesheet on Header (previously on footer)

2.0.0

  • Add Plugin Option page on Administration Menu.
  • Lazy Load supported
  • Custom video thumbnails on Lazy Load mode.

1.2.6

  • Typo in ReadMe and Description

1.2.5

  • Little Bug, Fixed.
  • New Contributor
  • New documentation link

1.2.4

  • Fix Bug: Break post when AMP plugin not installed.

1.2.3

  • Add: Google AMP supported

1.2.2

  • Add: Alias attribute for inserting YouTube ID. You can using "video" or "v" tags

1.2.1

  • Fix Bug: PHP Error Divided by zero.
  • Remove: Default Max Width (600px).

1.2

  • Fix Bug: Mixed Content on https sites. I'm Sorry, forgot to make https version for embed code :3

1.1

  • Fix Bug: Failed to Install
  • Some typos

1.0

  • We just born. Nothing to see here.