photo-1424223022789-26fd8f34bba2

WordPress 4.4 and YouTube Video Embeds

Update!

After posting to the WordPress.org forums, I was offered a few solutions on YouTube video embeds with WordPress 4.4:

Two work-arounds offered by Jeremy Herve:

Screen Shot 2015-12-10 at 10.39.07 AM

These solutions were originally posted on this forum by Jeremy.

Alternatively, you can wait for the Jetpack update and follow the progress here. In the mean time, I will be using the second work-around offered by Jeremy.

Thank you Jetpack developers and Jeremy for all the work you do!


Original Post

WordPress 4.4 “Clifford” has just been released! I am very excited about it, but I wanted to take a moment and document an issue I am experiencing with YouTube video embed shortcodes:


A simple YouTube video embed uses the video URL in a WordPress Post:

https://www.youtube.com/watch?v=24_gZA6tsuQ

Yields (Working):


Alternatively, you can use the embed shortcode to embed a YouTube video:

Screen Shot 2015-12-09 at 1.48.03 PM

Yields (Working):


However, using YouTube video embed shortcodes does not seem to be working:

Screen Shot 2015-12-10 at 10.13.04 AM

Yields (Not originally working):

Update!

There are two work-arounds to make this work. Please see the beginning Update! section of this blog post for more information!


I am a heavy user of YouTube video embed shortcodes since they allow me to customize the video player to match my WordPress theme and disable the suggested videos that normally appear when a video ends. Thus, I am hoping this will be remedied in a future update!

Don’t get me wrong. I am very excited about WordPress 4.4! With this update comes the notable additions of REST API and the ability to embed WordPress posts:

New Embeds Feature in WordPress 4.4

Both of these features are extremely important additions to WordPress. With the recent release of the Calypso App from WordPress.com the development of WordPress, as a whole, has been phenomenal in the last few months!

This WordPress future looks extremely bright!