ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Multimedia functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
MultimediaVolume (Function)
In french: MultimediaVolume
Returns or modifies the sound volume of the media file played in a Multimedia control.
WEBDEV - Browser code Note Depending on the type of video and browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
Example
WINDEVReports and QueriesUser code (UMC)
MonFichier is string = "C:\Ma musique\mysong.mp3"
MultimediaPlay(MM_Multimédia1, MonFichier)
// Fixe le son
MultimediaVolume(MM_Multimédia1, 50)
Syntax

Finding out the sound volume Hide the details

<Result> = MultimediaVolume(<Multimedia control>)
<Result>: Integer
Current sound volume (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of the Multimedia control to be used.

Modifying the sound volume Hide the details

<Result> = MultimediaVolume(<Multimedia control> , <New volume>)
<Result>: Integer
Sound volume before modification (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of Multimedia control to use.
<New volume>: Integer
Requested sound volume (between 0 and 100, 0 for mute).
Component: wd300obj.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help