Multimedia

You can play sounds, vibrate or blink with the screen just by using XHTML! Learn how.

Sounds

For playing sounds there is a tag <embed>, which works in desktop browsers as well. You can specify URL of the sound file in src attribute. Locify supports files only in WAV format. Sound will be cached and next time will not be downloaded.

Format:
<embed src="url/to/sound_file.wav" />

Vibration

You can vibrate with the phone to alert user. You can specify duration of vibration in duration attribute in miliseconds.

Format:
<locify:vibrate duration="duration" />

Blinking

You can light up the diplay to maximum light for some time. You can specify duration of blink in duration attribute in miliseconds.

Format:
<locify:blink duration="duration" />