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:
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="https://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="https://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.
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.
Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.
Benjamin Coolice says
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
Nicola says
audio file names don’t show upside or downside the player, hopefully there is a fast easy way to do that
Mark Hickman says
To add the Track title or file name, simply add it before [audio]
Simples