It is possible to insert video or audio file in WordPress. In this tutorial, I’ll show you how to easily embed video from services like YouTube, Vimeo, and so on.
If you want to revive your WordPress website not only with images and image galleries but also with video, audio or other files, you can do so in two ways.
Embedding video or audio using URL
The first one is the so called embedding of video — inserting a video using URL. In this way, you do not need to upload a video file to your site. Open the post or page where you want to place the video. The next steps are very simple:
Open the video you want to embed on a new page and copy its URL.
Insert the address in an open post on your WordPress site. WordPress will automatically embed video on the page. It appears in seconds.
This way you can embed videos, photos, profiles, posts, and comments. You can use this method to embed files from multiple websites and social networks. For example:
- WordPress Plugin Directory
- WordPress.tv and many others.
Editing the embedded video
If you want to adjust the height and width of the video, you can add shortcode to the URL:
How to embed a video through a media library
The other way is to insert a video or audio file by clicking the “Add File” button in WordPress Visual Editor. WordPress supports M4a, MP4, OGG, WebM, FLV, MP3 and WAV formats.
This is similar to the way you embedded the image. (See my post: How to add a picture in WordPress). The same window opens as when inserting an image and an image gallery. You can choose from files that you already have in your media library or upload new ones. To do so, click “Upload Files”.
Adding audio and video files to WordPress page
Click “Create Playlist” on the left side of the media library window. A list of your audio files is displayed. If you wish to embed a video, click “Create video list” to see a list of video files.
From the list, select the files you want to embed to the website. Then click “Create a new playlist” and “Create a new video list”.
Editing a video list
Now, you are in the playlist editing window. You can change their order here. You do this by dragging them with your mouse and dropping the file to a new location. You can also change the file name. Click on its name to overwrite it. After clicking on the video, a video description window will appear on the right side of the screen.
In the window for video list editing, you can remove the video list by clicking the cross in the corner of the particular video icon or inserting another video in the list. You can find this option in the left part of the video editing window.