Help:Include a sound or a movie

From CNBH Acoustic Scale Wiki

Jump to: navigation, search

Embed a sound

The following formats can be used: mp3, wav and aif (not tested). Just upload your file from the upload page and use the following markup code to embed it. For these examples, a file called "sample sound file.wav" was uploaded.

<sound> sample sound file.wav </sound>

Will produce a Flash player along with a Download link. Note that for the moment, the user will have to right-click/save as... to actually download the sound file.

Download Sample_sound_file.wav [2.54 MB]


You can also include a title.

<sound> sample sound file.wav | Title that ''understands'' Wikitext</sound>

Title that understands Wikitext

Download Sample_sound_file.wav [2.54 MB]


If you want a short download link that does not display the name of the wav file, then use the blinddownload option.

<sound> sample sound file.wav | Title that ''understands'' Wikitext | blinddownload </sound>

Title that understands Wikitext

Download [2.54 MB]


If you want to prevent the original file to be downloaded, just add the nodownload option.

<sound> sample sound file.wav | Title that ''understands'' Wikitext | nodownload </sound>

Title that understands Wikitext


Finally, if you put no title, but the nodownload option, you can embed the sound in a line of text. Be sure to avoid to put a space after the closing tag.

You can listen to the song <sound> sample sound file.wav | nodownload </sound>embedded in this line.

You can listen to the song embedded in this line.

Embed a movie

The <video> tag is very similar. Just upload your avi or mov file, and then call your movie with the adequate video tag. The syntax is the same as for the sound tag. However, there is no inline embedded version of it. For these examples, a file called "sample video file.mov" was uploaded.

<video> sample video file.mov | Title that ''understands'' Wikitext </video>

Title that understands Wikitext

Loading the player...

Download Sample_video_file.mov [1.58 MB]

Personal tools
Namespaces
Variants
Views
Actions
Navigation