Volume Meta Tag

PocketBrowser 3.x API

The Volume Meta Tag is an action tag used to set the audio output volume of wave files being played on the device. This does not set the volume of the device beeper.

Volume (META Tag) Syntax
<META HTTP-Equiv="Volume" content="[parameter>

Items listed in this section indicate parameters, or attributes which can be set.

Name Possible Values Description
Default Value
SetVolume:[Value] Volume in the format 0xnnnn Specifies a new volume setting. The low-order word contains the left-channel volume setting, and the high-order word contains the right-channel setting. A value of 0xFFFF represents full volume, and a value of 0x0000 is silence. If a device does not support both left and right volume control, the low-order word specifies the volume level and the high-order word is ignored Device Dependant
Copy parameters template to clipboard: Copy META Tag template to clipboard META Tags Copy Javascript template to clipboard Javascript

The following example sets the device volume to its maximum for all devices

<meta http-equiv="Volume" content="SetVolume:0xFFFF">
Copy example to clipboard Copy example to clipboard

The following example sets the device volume to its maximum for devices with a single wave output channel.

<meta http-equiv="Volume" content="SetVolume:0x00FF">
Copy example to clipboard Copy example to clipboard
Supported Platforms Windows CE, Windows Mobile
Persistence This tag is persistent.
Min. Requirements The device must have a speaker.