mobileFX VHX
VHX Object
/ Open Method
The path, local or online, of the media to play/resume.
Collapse All
Expand All
In This Topic
Description
Syntax
Parameters
Remarks
Example
See Also
About VHX ActiveX
Getting Started
mobileFX VHX
Overview
Objects
VHX Object
Methods
CreatePlayer Method
DestroyPlayer Method
Open Method
Pause Method
Play Method
Stop Method
Properties
BackgroundColor Property
ConnectionErrorMessage Property
ForeColor Property
HMI_PAUSE Property
HMI_PLAY Property
HMI_STOP Property
HMI_URL Property
MediaAutoPlay Property
MediaDebugMessages Property
MediaDuration Property
MediaEvents Property
MediaLoop Property
MediaPosition Property
MediaSpeed Property
MediaState Property
MediaTime Property
RecyclePlayerProcess Property
Events
OnConsoleMessage Event
OnPlayerEvent Event
OnPlayerReady Event
Enumerations
VHX_EVENTS Enumeration
VHX_HMI_COMMAND Enumeration
VHX_LOG_LEVEL Enumeration
VHX_MEDIA_TYPE Enumeration
VHX_STATE Enumeration
Open Method
In This Topic
Description
Syntax
Parameters
Remarks
Example
See Also
Description
Loads and starts playing a media.
Syntax
Visual Basic
Public
Sub
Open( _
ByVal
URL
As
String
_ )
Parameters
URL
The path, local or online, of the media to play/resume.
Remarks
It will play the media only if MediaAutoPlay is set to false. Otherwise, a call to Play() is required.
Example
private void axVHX1_OnPlayerReady(object sender, EventArgs e)
{
axVHX1.Open("file///path-to-your-video-file");
}
See Also
VHX Object
|
VHX Members