Promotic

Sound - method of the PmgVideo object

Description:
Enable/disable playing the sound.
Syntax:
Empty Sound(String sParams)
Parameters:
sParams(String) Additional parameters that set the type of playing the sound. Entries are in the KeyVal format, for example "enabled:yes;".
"enabled:xxx;" (optional) - Enable/disable playing the sound.
yes (default) - Enable playing the sound. The sound is played only if the "Playing type" configurator is set to "Multimedia".
no - Disable playing the sound.
Note:
This method is not functional in Web panels.
See also:
- PmgVideo.Seek (method)
- PmgVideo.Stop (method)
- PmgVideo.Play (method)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oAnimate = pMe.Items("/WAnimate");
oAnimate.Sound("enabled:yes");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.