Type: Boolean
Availability: Read or write at any time
The useDotNetVersion property of the MultiMedia class specifies whether the control uses .NET, providing access to new style media files such as an MPEG Layer-4 Audio (MP4) file. When the value of this property is:
false (the default value), the control operates the same as it did in earlier versions of JADE; that is, it uses the older‑style MCI control
true, the control creates a Microsoft WPF MediaElement control that is used to play the media files
When using the .NET control style (that is, this property is set to true), the JADE MultiMedia control mostly operates in the same way as the older style, with the following exceptions.
If the play bar of the control is shown, it is drawn using WPF entities and it has a different appearance.
If the value of the showMenu property is true, the menu that is displayed when the menu button is clicked shows the View, Volume, and Speed menu commands but not the Copy, Configure, and Command menu items. In addition, the menu provides the Close command, which closes the medium that is being shown.
The mediaName property can be a URL (for example, http://hostName/images/introduction.mp4).
The .NET style may not handle older style media files.
The following MultiMedia class properties and methods are not available, and generate exception 1068 (Feature not available in this release).
The methods and property listed in the following table return fixed values.
Method or Property | Fixed Value |
---|---|
canEject | false |
canPlay | true |
canRecord | false |
canSave | false |
timeFormat | null |
usesFiles | true |
The openDialog method includes MP4‑type files in the files that are displayed.
Media attribute values position (obtained by calling the getEndPositionor getStartPosition method) and length (obtained by calling the getLength method) are not available until the medium has been opened and the notifyMedia or notifyMode event has been received.