PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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 is used to get and change 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.)
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 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.)
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 (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