Share via


IHTMLBGsound interface

Provides the methods to control background sound elements.

Members

The IHTMLBGsound interface inherits from the IDispatch interface. IHTMLBGsound also has these types of members:

  • Properties

Properties

The IHTMLBGsound interface has these properties.

Property Description

balance

Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.

loop

Sets or retrieves the number of times a sound or video clip will loop when activated.

src

Sets or gets the URL of a sound to play.

volume

Sets or gets the volume setting for the sound.

 

Remarks

The bgSound element enables you to create pages with background sounds or soundtracks.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch