|
|
|
|
|
- Operating mode of the Multimedia control in automatic mode
MultimediaReader (Property) In french: LecteurMultimédia
The MultimediaReader property gets and sets the media player currently used by a Multimedia control to play media files. // 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. | MultimediaReaderFlash | The Multimedia control will use the MacroMedia Flash player (adapted for .FLV, .MP4 files, etc.) | MultimediaReaderNativeBrowser | The Multimedia control will use the Native HTML5 player. | MultimediaReaderQuicktime | The Multimedia control will use the Apple QuickTime player (adapted for .MOV, .MP4 files etc.) | MultimediaReaderWindowsMedia | The 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. | MultimediaReaderFlash | The Multimedia control will use the MacroMedia Flash player (adapted for .FLV, .MP4 files, etc.) | MultimediaReaderNativeBrowser | The Multimedia control will use the Native HTML5 player. | MultimediaReaderQuicktime | The Multimedia control will use the Apple QuickTime player (adapted for .MOV, .MP4 files etc.) | MultimediaReaderWindowsMedia | The 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|