PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
MultimediaDuration (Function)
In french: MultimédiaDurée
Returns the size of the multimedia file currently played (in milliseconds) in the Multimedia control.
Versions 17 and later
Android This function is now available for Android applications.
New in version 17
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
MyFile is string = "C:\My music\mysong.mp3"
// For Windows Mobile:
// MyFile is string = "\My Documents\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 multimedia file,
  • 0 if an error occurs. To get the details of the error, use ErrorInfo.
<Multimedia control>: Control name
Name of Multimedia control to use.
Component: wd260obj.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment