PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Operating mode of the video 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 allows you to find out and modify the multimedia reader currently used by a Video control to play the multimedia files.
Example
// Retrieve the video of the current product
// and display it in the video control
VIDEO_Product..Value = "http://server/GetProductVideo.awp?ID=5"

// Select the relevant multimedia reader
// (if the type of video cannot be deduced from the URL)
VIDEO_Product..MultimediaReader = MultimediaReaderFlash
Syntax

Finding out the multimedia reader currently used by a video control Hide the details

<Result> = <Name of Video Control>..MultimediaReader
<Result>: Integer constant
The possible values are:
MultimediaReaderAutomatic
(default value)
The video control chooses the best multimedia player according to the file extension.
MultimediaReaderFlashThe video control will use the MacroMedia Flash player (adapted for the files whose extension is .FLV, .MP4, etc.)
Versions 16 and later
MultimediaReaderNativeBrowser
New in version 16
MultimediaReaderNativeBrowser
MultimediaReaderNativeBrowser
The video control will use the native HTML 5 player.
MultimediaReaderQuicktimeThe video control will use the Apple QuickTime player (adapted for the files whose extension is .MOV, .MP4, etc.)
MultimediaReaderWindowsMediaThe video control will use the Windows Media player (adapted for the files whose extension is .WMV, .ASF, .AVI, etc.)
<Name of Video Control>: Character string (with or without quotes)
Name of the Video control to use

Modifying the multimedia reader currently used by a video control Hide the details

<Name of Video Control>..MultimediaReader = <Multimedia Reader>
<Name of Video Control>: Character string (with or without quotes)
Name of the Video control to use
<Multimedia Reader>: Integer constant
Type of multimedia reader to use:
MultimediaReaderAutomatic
(default value)
The video control chooses the best multimedia player according to the file extension.
MultimediaReaderFlashThe video control will use the MacroMedia Flash player (adapted for the files whose extension is .FLV, .MP4, etc.)
Versions 16 and later
MultimediaReaderNativeBrowser
New in version 16
MultimediaReaderNativeBrowser
MultimediaReaderNativeBrowser
The video control will use the native HTML 5 player.
MultimediaReaderQuicktimeThe video control will use the Apple QuickTime player (adapted for the files whose extension is .MOV, .MP4, etc.)
MultimediaReaderWindowsMediaThe video control will use the Windows Media player (adapted for the files whose extension is .WMV, .ASF, .AVI, etc.)
Remarks

Operating mode of the video control in automatic mode

In automatic mode (MultimediaReaderAutomatic constant), the reader 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 required version
  • Version 15
Comments
Click [Add] to post a comment