PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Operating mode of the Multimedia control in automatic mode
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
..MultimediaReader is used to know and modify the multimedia player currently used by a Video control to play multimedia files.
Note: From version 19, the Video control is called Multimedia control.
..MultimediaReader is used to know and modify the multimedia player currently used by a Multimedia control to play multimedia files.
Example
// Retrieve the video of the current product
// and display it in the Multimedia control
VIDEO_Product..Value = "http://server/GetProductVideo.awp?ID=5"
 
// Select the best multimedia player
// (if the type of video cannot be deduced from the URL)
VIDEO_Product..MultimediaReader = MultimediaReaderFlash
Syntax

Finding out the multimedia player currently used by a Multimedia control Hide the details

<Result> = <Multimedia control>..MultimediaReader
<Result>: Integer constant
The possible values are:
MultimediaReaderAutomatic
(default value)
The Multimedia control chooses the best multimedia player according to the file extension.
MultimediaReaderFlashThe Multimedia control will use the MacroMedia Flash player (adapted for .FLV, .MP4 files, etc.)
Versions 16 and later
MultimediaReaderNativeBrowser
New in version 16
MultimediaReaderNativeBrowser
MultimediaReaderNativeBrowser
The Multimedia control will use the Native HTML5 player.
MultimediaReaderQuicktimeThe Multimedia control will use the Apple QuickTime player (adapted for .MOV, .MP4 files etc.)
MultimediaReaderWindowsMediaThe Multimedia control will use the Windows Media player (adapted for .WMV, .ASF, .AVI files, etc.)
<Multimedia control>: Control name
Name of Multimedia control to use

Modifying the multimedia player currently used by a Multimedia control Hide the details

<Multimedia control>..MultimediaReader = <Multimedia player>
<Multimedia control>: Control name
Name of Multimedia control to use
<Multimedia player>: Integer constant
Type of multimedia player to use:
MultimediaReaderAutomatic
(default value)
The Multimedia control chooses the best multimedia player according to the file extension.
MultimediaReaderFlashThe Multimedia control will use the MacroMedia Flash player (adapted for .FLV, .MP4 files, etc.)
Versions 16 and later
MultimediaReaderNativeBrowser
New in version 16
MultimediaReaderNativeBrowser
MultimediaReaderNativeBrowser
The Multimedia control will use the Native HTML5 player.
MultimediaReaderQuicktimeThe Multimedia control will use the Apple QuickTime player (adapted for .MOV, .MP4 files etc.)
MultimediaReaderWindowsMediaThe Multimedia control will use the Windows Media player (adapted for .WMV, .ASF, .AVI files, etc.)
Remarks

Operating mode of the Multimedia control in automatic mode

In automatic mode (constant MultimediaReaderAutomatic), the player defines the type of the video according to its extension. This mode does not operate if the file has not the proper extension or if the path is a URL to a dynamic page/script.
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment