ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
<Multimedia>.Status (Function)
In french: <Multimédia>.Etat
Indicates the status of the media file played in the Multimedia control.
WEBDEV - Browser code Note Depending on the type of video and browser configuration, this function may not be supported. In this case, the call to this function will have no effect and no error will be triggered.
Example
WINDEVReports and QueriesUser code (UMC)
MonFichier is string = "C:\Ma musique\mysong.mp3"

MM_Multimédia1.Ouvre(MonFichier)
...
IF MM_Multimédia1.Etat() = MultimediaStatusPause THEN
	MM_Multimédia1.Début()
	MM_Multimédia1.Joue()
END
...
MM_Multimédia1.Ferme()
Syntax
<Result> = <Multimedia control>.Status()
<Result>: Integer constant
Status of the media file currently found in the Multimedia control.
MultimediaStatusPauseThe file is paused.
MultimediaStatusPlayThe file is opened and it is currently played.
MultimediaStatusStopThe file is stopped.
WEBDEV - Browser code Depending on video type and browser configuration, this constant may never be returned: a loaded media file may only be playing or paused.
<Multimedia control>: Control name
Name of the Multimedia control to be used.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help