ITIMEMediaPlayerAudio::volume Property

HTML (DHTML)

ITIMEMediaPlayerAudio::volume Property

Internet Development Index

Sets or retrieves the volume of the media file.

Syntax

HRESULT ITIMEMediaPlayerAudio::put_volume(float f);

Parameters

f
int that specifies or receives the volume of the media file. Valid values range from 0 to 100.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property is only relevant for people who are writing a custom player for HTML+TIME (Timed Interactive Multimedia Extensions).