Video/Audio Embedding in WordPress 3.6

Last updated on by admin

special SiteGround WordPress hostingspecial Bluehost WordPress hosting

embedding video/audio in wordpress post thumbnail

In WordPress 3.6 there are some major changes in the post editor. One of them is Video/Audio support. Users can now embed their favourite videos or audio files into posts directly. There is no need to install a WordPress plugin for video/audio playback anymore.

How Video/Audio Embedding Option Works?

In WordPress 3.6 you can create various types of posts. Lets take a look at a Standard Post:

embedding video into wordpress post editor

 

A standard post is more like a mixed editor. It allows you to embed a video along with your other content using a simple shortcode:

[video src="http://www.example.com/uploads/myvid.mp4"]

You can also define various file types so your videos are compatible with other browsers.

[video width="600" height="480" mp4="http://www.example.com/uploads/myvid.mp" ogv="http://www.example.com/uploads/myvid.ogv" webm="http://www.example.com/uploads/myvid.webm"]

Audio files work just the same way.

[audio src="http://www.example.com/uploads/mymusic.mp3"]

[audio mp3="http://www.example.com/uploads/mymusic.mp3" ogg="http://www.example.com/uploads/mymusic.ogg" wav="http://www.example.com/uploads/mymusic.wav"]

And this is how it looks like when you publish your post.

video display in a wordpress post

I think this is a great improvement in the core WordPress. What do you think?

Feel free to share your thoughts in the comment section below.

special SiteGround WordPress hostingspecial Bluehost WordPress hosting

3 thoughts on “Video/Audio Embedding in WordPress 3.6”

  1. Hey There Admin,
    Interesting Thoughts, I want to embed a YouTube video on my website and have it autoplay (which I already know how to do), but I want don’t want the embedded video to playback audio, as I have music playing in the background of my website, and would like to keep it. If anyone knows a solution to this, please let me know.
    Cheerio

Leave a Reply