AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones multimedia
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
MultimediaDuration (Function)
In french: MultimédiaDurée
AjaxNot available
Returns the size of the media file currently played (in milliseconds) in the Multimedia control.
WEBDEV - Browser code Note: Depending on the video type 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)
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.
WEBDEV - Browser code Note: The ErrorInfo function is not available.
<Multimedia control>: Control name
Name of the Multimedia control to be used.
Component: wd300obj.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local