- Audio files: Provide a text transcript of the audio information that can be rendered into an accessible format via assistive technology.
Videos: Provide audio that describes the important video content and describe it as such.
You can upload to (and insert videos from) the WordPress Media Library just like you would for images.
While working on a WordPress page, click the Add Media button above the text editing box.
From the Upload Files tab, click on Select Files. Then select the video you want to upload.
However, chances are your video file will be too large to upload unless it is very short and of low resolution. The maximum file size for uploads is 24 MB.
The next technique will work for any size video file.
Using YouTube for Videos
You can upload videos to YouTube for use on your WordPress site. YouTube supports the following file types: MOV, MP4 (MPEG4), AVI, WMV, FLV, 3GP, MPEGPS, WebM
If you have a Google/Gmail account, you automatically have a YouTube account. Sign in to your account at either website.
Once your video has uploaded and Published (set to Public), it will have a web address. Highlight and copy (Ctrl+C) the web address.
Back in WordPress, place your cursor in text editing box where you want the video to go, and paste (Ctrl+V).
Usually in the blink of an eye, the pasted text will turn into a video playback image.
Update/publish the page and view it in the browser. You should be able to see and play your video.
Resizing the YouTube Video
Sometimes you need to have the video display smaller in your page. First, decide what width it needs to be. I’m going to demonstrate here with a 300px width.
Click the Share button on YouTube under the video name.
Then click the Embed button which appears underneath. Some code will appear.
Click the SHOW MORE button under the code.
In the Video size dropdown, select Custom Size. Enter your desired width in the first box.
Press the tab key on your keyboard, and YouTube will calculate the proportional height for your width.
Scroll back up to the embed code. Select and copy it.
You’ll need to paste this as raw code. In the top-right corner of the editing panel in WordPress, click the Text tab.
Place the embed code in the proper place. Avoid placing it in the middle of other code.
Click back on the Visual tab. The video should be visible as before, but at the new size you defined.