ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The MultimediaReader property gets and sets the media player currently used by a Multimedia control to play media 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 media player
// (if the type of video cannot be deduced from the URL)
VIDEO_Product.MultimediaReader = MultimediaReaderFlash
Syntax

Determining the media 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.)
MultimediaReaderNativeBrowserThe 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 the Multimedia control to be used

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

<Multimedia control>.MultimediaReader = <Multimedia player>
<Multimedia control>: Control name
Name of the Multimedia control to be used
<Multimedia player>: Integer constant
Type of the media player to be used:
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.)
MultimediaReaderNativeBrowserThe 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 (MultimediaReaderAutomatic constant), 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

Last update: 03/04/2024

Send a report | Local help