Content

We now offer our sound files in the OGG Vorbis format as well as just MP3s.

Audio Helper script

Our view is that the HTML5 version should 'just work'. But audio in HTML makes this a bit complicated because in practice audio playback relies on user interaction, which means Javascript. It doesn't make sense to build this script into every entry, so instead, we're providing a script for you to use in your application which will play the audio files: get it here!

New DTD for XML responses

You'll notice a small change to the structure. This is what the audio looks like:

<audio region="us" type="pronunciation">
    <source type="audio/mpeg" src="http://dictionary.cambridge.org/media/british/us_pron/g/get/get__/get.mp3"/>
    <source type="audio/ogg" src="http://dictionary.cambridge.org/media/british/us_pron/g/get/get__/get.ogg"/>
</audio>

And the DTD now contains the following section on audio files:

<!-- 
    <audio> is a reference to an audio pronunciation file. 
    The region attribute indicates whether it is a UK or US pronunciation.
    The file is in the source element, which has a type attribute indicating if it is mp3 (audio/mpeg) or ogg (audio/ogg).
    The audio@caption attribute will specify exactly which word is being referred to, to avoid confusion where entries contain more than one pronunciation (e.g. for variants). It's not populated yet, we're working on that.
-->
<!ELEMENT audio (source*) >
<!ATTLIST audio 
    type (pronunciation|sound_effect) "pronunciation"
    caption CDATA #IMPLIED
    region CDATA #IMPLIED
>
<!ELEMENT source EMPTY >
<!ATTLIST source 
    type CDATA #IMPLIED
    src CDATA #IMPLIED 
>

Have fun!


Contact Us

To request permission to use or license Cambridge dictionary data, please complete our query form.