ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Multimedia functions
  • Using the MultimediaPlay function
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Plays a media file in a Multimedia control.
WEBDEV - Browser code Note Depending on the type of video 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
Syntax
<Result> = <Multimedia control>.Play()
<Result>: Boolean
  • True if the file was successfully played,
  • False otherwise. 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 Multimedia control used to play the media file.
Remarks

Using the MultimediaPlay function

<Multimedia>.Play can be used:
  • to load a media file in memory and to play this file.
  • to play a media file loaded by MultimediaOpen.
  • to restart a file paused by <Multimedia>.Pause.
    Note: To pause the playback of a media file, the media file must have been started via the MultimediaOpen function followed by the <Multimedia>.Play function, specifying only the field name..
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