Audio Requirements

Audio-only files—whether they are downloaded from a page or distributed via a podcast—must be accessible to all visitors of the EERE website. For developing and posting audio-only files, follow these requirements and best practices.

Technical Requirements

All audio files should be in MP3 format.

Posting Audio Files in Energy.gov

Create a download page that contains the MP3 file and the text version of the audio.

  • The download page must contain a descriptive title, summary, and body text.
  • The text version can be pasted into the body of the page.
  • A hero image is optional.
  • Follow file naming requirements when naming the MP3 file.

Posting Audio Files Outside of Energy.gov

Use these best practices for posting audio files on EERE sites outside of the Energy.gov environment.

Directory

All audio files must be located in your site's /media/ directory.

Link to the Text Version

The text version should be posted on a separate HTML page. Link to this page near your MP3 file. See the page on writing a text version for more information.

Linking to Audio-only Files

You should provide a link to download an audio file, even if you embed the audio file on the page. This allows users to download your audio file and listen to it on a portable music device.

Embedded Audio Players

You may embed an audio file directly onto your website. This allows users to listen to your audio file directly on your website.

Embedded audio files should use the EERE Audio Skin. The skin determines the visual appearance of your file, such as the "play" and volume buttons, and is used to provide a singular, unified appearance for all embedded EERE Audio files.

EERE uses the JW Player for embedding multimedia files. Contact Amy Glickson to get the JW Player key or if you need a copy of the JW Player files.

Here is an example of the JW Player audio code.

<script type="text/javascript" src="/includes/jw6/jwplayer.js" ></script> 
<script type="text/javascript">jwplayer.key="_KEY_";</script>
<div id="audio"></div>
<script>
    jwplayer("audio").setup({
            file: "/media/01.mp3",
width: '500',
            height: '35',
            skin: "/includes/jw6/bekle.xml",
            primary: 'flash',  // for keyboard accessibility
    });
</script>