Knowledge Base: Uploading Video and Audio Files

Since inception, Ratburger.org has allowed you to embed video and audio hosted on a list of public sites such as YouTube and Vimeo simply by including the URL for the item on a line by itself.  See the Knowledge Base article “Embedding Media in Posts and Comments” for details.  But this isn’t much help when you wish to include a video or audio clip of your own, for example the latest screwball antics of your pet iguana or the latest track by your kazoo and sitar band.  Sure, you could create an account on one of the public video or audio hosting sites, upload your content, and then include the URL, but that’s a lot of fussy work and you may not want to make the item available to the general public.

In addition to images, Ratburger’s Media Library allows you to upload video and audio in a variety of formats and include them in posts and comments (but not in groups, which are basically text-only discussion boards).  You include these items much as you do images.  Use the “Add Media” button, select the video or audio file you wish to upload, wait for it to upload, and then click “Insert into post” to include a player for the clip in the post or comment you’re composing.

The type of the media file is determined by the extension or “file type” of the file you upload.  Video files may have the following extensions which identify their formats (most people can ignore the technical details in parentheses).

  • .webm (WebM, vp8.0/Vorbis)
  • .ogv (Ogg, Theora/Vorbis)
  • .mp4 (MPEG-4, H.264/AAC)

Audio files are identified by the following extensions.

  • .mp3 (MP3)
  • .ogg (Ogg, Vorbis)
  • .wav (WAV, PCM)

Unfortunately, due to patents, proprietary squabbles among manufacturers, and other speed bumps and potholes on the Information Rutted Road, there is no single format which is guaranteed to work everywhere.  “Power users” can upload multiple formats and make them available in a custom video or audio shortcode entered in the Text composition tab or by editing the media player item in the composition window, but this is beyond the scope of this document.

Uploads are limited to 32 megabytes.  This is usually not a problem for audio, but video clips should be short and small.  This is a not a video hosting site: we have neither the file storage space nor Internet bandwidth for lengthy, high-resolution videos.  To post them, you’re going to have to use one of the public hosting sites.

For example, the following is a two minute video I recorded in July 2009 at a concert of our village brass band.  This was compressed into 360 pixel Ogg video format yielding a file of 6.9 Mb.

This is a an audio clip of the finale from the 1999 movie South Park: Bigger, Longer & Uncut, which figured in my 2006 project CSI: South Park.  This is a 545 Kb MP3 file.

___________________________

5+

Users who have liked this post:

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar

Author: John Walker

Founder of Ratburger.org, Autodesk, Inc., and Marinchip Systems. Author of The Hacker's Diet. Creator of www.fourmilab.ch.

9 thoughts on “Knowledge Base: Uploading Video and Audio Files”

  1. For some reason the “Add Media” tab does not work for this post for comments. It works on another post. I tried with two different devices and three different browsers. I was going to test the function.

    Is this happening to others?

    It works for the OP as admin.

    1+

    Users who have liked this comment:

    • avatar
  2. This is my non-Administrator account, posting a video.

    [video width="384" height="288" webm="https://www.ratburger.org/wp-content/uploads/2017/12/Ztrain.webm"][/video]

    Note that when composing a comment, the video shortcode does not get expanded until the comment is posted.  You’ll see the shortcode in the composition window.

    1+

    Users who have liked this comment:

    • avatar
  3. 10 Cents:
    For some reason the “Add Media” tab does not work for this post for comments. It works on another post. I tried with two different devices and three different browsers. I was going to test the function.

    Is this happening to others?

    It works for the OP as admin.

    10 Cents, that is exactly the problem I was running into. I’m wondering if the size of the file was the problem….

    But since that post is long gone, like my short term memory, I’ll have to poke around and see what I have on hand or what I have to edit that will be worthy of a test.

    [video width="720" height="480" mp4="https://www.ratburger.org/wp-content/uploads/2018/08/rainstorm20180813.mp4"][/video]

    I’ll be darned, it worked! no audio, but that was inadvertently dropped in my hurried reduction in overall display size with “Video Converter Ultimate”.

    0

  4. 10 Cents:
    Still having problems. I can’t switch to the Text tab in this post from Visual.  The other posts it works.

    10 Cents are you saying you’re handicapped?

    I switch back and forth with ease to add colour to text.

    Must be those super duper admin privileges you have.

    0

Leave a Reply