PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

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
MultimediaPosition (Function)
In French: MultimédiaPosition
Returns or modifies the current position of the multimedia file currently played in the Multimedia control.
Versions 15 and later
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code Note: Depending on the video type and on the browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
New in version 15
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code Note: Depending on the video type and on the browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code Note: Depending on the video type and on the browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
Versions 17 and later
Android This function is now available for the Android applications.
New in version 17
Android This function is now available for the Android applications.
Android This function is now available for the 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 the 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 the 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 the 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
WINDEVReports and QueriesUniversal Windows 10 AppUser code (UMC)
MultimediaPlay(MM_Multimedia1, "C:\My music\mysong.mp3")
// Positions 10 seconds after the beginning of file
MultimediaPosition(MM_Multimedia1, 10000)
MultimediaStop(MM_Multimedia1)
Windows Mobile
MultimediaPlay(MM_Multimedia1, "\My Documents\My music\mysong.mp3")
// Positions 10 seconds after the beginning of file
MultimediaPosition(MM_Multimedia1, 10000)
MultimediaStop(MM_Multimedia1)
Syntax

Finding out the position in the file Hide the details

<Result> = MultimediaPosition(<Name of Multimedia Control>)
<Result>: Integer
Current position in the file, expressed in milliseconds.
<Name of Multimedia Control>: Character string (with or without quotes)
Name of Multimedia control to use.

Modifying the position in the file Hide the details

<Result> = MultimediaPosition(<Name of Multimedia Control> , <New Position>)
<Result>: Boolean
  • True if the positioning was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
WEBDEV - Browser code Note: ErrorInfo is not available.
<Name of Multimedia Control>: Character string (with or without quotes)
Name of Multimedia control to use.
<New Position>: Integer ou Duration
New position in the multimedia file, expressed in milliseconds. This parameter can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (1 s or 10 ms for example).
    New in version 23
    the direct indication of duration (1 s or 10 ms for example).
    the direct indication of duration (1 s or 10 ms for example).
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
WEBDEV - Browser code WDJS.DLL
Android wd230android.jar
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment