ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MultimediaDuration (Function)
In french: MultimédiaDurée
Returns the size of the media file currently played (in milliseconds) in the Multimedia control.
Example
Universal Windows 10 App
MyFile is string = "C:\My music\mysong.mp3"
MultimediaOpen(MM_Multimedia1, MyFile)
Info("The duration of this file is " + MultimediaDuration(MM_Multimedia1) + ...
" milliseconds")
}}
Syntax
<Result> = MultimediaDuration(<Multimedia control>)
<Result>: Integer
  • Duration (in milliseconds) of media file,
  • 0 if an error occurs. To get more details on the error, use ErrorInfo.
<Multimedia control>: Control name
Name of the Multimedia control to be used.
Component: wd280obj.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment