PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Specific features for Android
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
MultimediaOpen (Function)
In french: MultimédiaOuvre
Opens a multimedia file in a Multimedia control. The file is loaded in memory. To play the file, you must use MultimediaPlay.
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
WINDEVReports and QueriesWindows MobileUniversal Windows 10 AppUser code (UMC)
MyFile is string = "C:\My music\mysong.mp3"
// For Windows Mobile:
// MyFile is string = "\My Documents\My music\mysong.mp3"
MultimediaOpen(MM_Multimedia1, MyFile)
Syntax
<Result> = MultimediaOpen(<Multimedia control> , <File to open>)
<Result>: Boolean
  • True if the file was successfully opened,
  • False if an error occurred. To find out the error details, use ErrorInfo.
<Multimedia control>: Control name
Name of Multimedia control used to play the multimedia file.
<File to open>: Character string (with quotes)
Name and path of multimedia file to open.
Versions 17 and later
Android Corresponds to:
  • the name and path of multimedia file to play.
  • a URL (to play the video in streaming).
  • a resource name (file name + extension) added to the application via the generation wizard.
New in version 17
Android Corresponds to:
  • the name and path of multimedia file to play.
  • a URL (to play the video in streaming).
  • a resource name (file name + extension) added to the application via the generation wizard.
Android Corresponds to:
  • the name and path of multimedia file to play.
  • a URL (to play the video in streaming).
  • a resource name (file name + extension) added to the application via the generation wizard.
Versions 18 and later
iPhone/iPad Corresponds to:
  • the name and path of multimedia file to play.
  • a video URL on a server. Note: the YouTube videos cannot be played.
  • a resource name (file name + extension) added to the application via the generation wizard.
New in version 18
iPhone/iPad Corresponds to:
  • the name and path of multimedia file to play.
  • a video URL on a server. Note: the YouTube videos cannot be played.
  • a resource name (file name + extension) added to the application via the generation wizard.
iPhone/iPad Corresponds to:
  • the name and path of multimedia file to play.
  • a video URL on a server. Note: the YouTube videos cannot be played.
  • a resource name (file name + extension) added to the application via the generation wizard.
Remarks
Versions 17 and later
Android

Specific features for Android

  • By default, MultimediaPlay is a locking function until the control is ready to play the file.
  • The MultimediaNonBlocking constant used with MultimediaPlay allows you to perform a non-locking load operation. In this case, the call to a Multimedia function (MultimediaPosition, ...) will fail as long as the multimedia file is not loaded by the control.
  • The non-locking load operations are recommended when using multimedia files not found on the device (online video for example).
New in version 17
Android

Specific features for Android

  • By default, MultimediaPlay is a locking function until the control is ready to play the file.
  • The MultimediaNonBlocking constant used with MultimediaPlay allows you to perform a non-locking load operation. In this case, the call to a Multimedia function (MultimediaPosition, ...) will fail as long as the multimedia file is not loaded by the control.
  • The non-locking load operations are recommended when using multimedia files not found on the device (online video for example).
Android

Specific features for Android

  • By default, MultimediaPlay is a locking function until the control is ready to play the file.
  • The MultimediaNonBlocking constant used with MultimediaPlay allows you to perform a non-locking load operation. In this case, the call to a Multimedia function (MultimediaPosition, ...) will fail as long as the multimedia file is not loaded by the control.
  • The non-locking load operations are recommended when using multimedia files not found on the device (online video for example).
Component : wd240obj.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment