Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DVDPlaybackMBS.GetVideoWindowID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Gets the window ID of the Cocoa window in use for DVD-Video playback.
Notes:
Returns the window ID of the Cocoa window currently in use for DVD-Video playback, or zero if there is no Cocoa window.

Lasterror is set.
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

DVDPlaybackMBS.GoBackOneLevel
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: If a submenu is active, moves up one level in the same domain.
Notes:
Lasterror is set.

This function is used to navigate one level up in a hierarchical structure in the same domain—for example, from a scene selection menu back to the main menu. This action is comparable to navigating upwards in the directory or folder hierarchy of a file system.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

DVDPlaybackMBS.GotoBookmark(Bookmark as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Sets the video playback position using a bookmark, and resumes play.
Notes:
This function is used when playing media on a DVD-Video disc. Before calling this function, the media needs to be open. This function uses the specified bookmark to set the video playback position, and begins playing the media.

Bookmark ist a binary string. Make sure you did not destroy it by an encoding conversion!

Requires Mac OS X 10.4 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.GoToMenu(menu as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Jump to a particular menu (Root Menu,Sub Picture Menu, etc.).
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.HasMedia as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if the playback framework has media to play and the framework had received an Open call on the media.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.HasMenu(menu as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns if input menu type is available.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.HasNextChapter as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if there is a chapter after the current chapter.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.HasPreviousChapter as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if there is a chapter before the current chapter.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.Idle
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Allows the framework to get a consistent time to process at. (Might be removed in the future).
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsDisplayingSubPicture as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if subpictures are currently being displayed.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsMuted as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Toggles the mute setting on or off.
Notes:
Returns true if the playback volume is currently muted.
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsOnMenu(byref OnMenu as boolean, byref menu as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Are we currently on a menu, and if so, which one.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsPaused as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if the framework has media and is paused.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsPlaying as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if the framework has media and is playing (even if paused).
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsSupportedDisplay(CGVideoDisplayHandle as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: True if the display is supported.
Notes:
Lasterror is set.
Requires Mac OS X 10.3 or newer.
You can use the handle from a CGDisplayMBS object.

Feedback, Comments & Corrections

DVDPlaybackMBS.IsValidMedia(folder as folderitem) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns true if the folderitem points to a valid media layout.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.Lasterror as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: The last error code reported.
Notes:
Requires Mac OS X 10.3 or newer.

kDVDErrorUnknown-70001Catch all error
kDVDErrorInitializingLib-70002There was an error initializing the playback framework
kDVDErrorUninitializedLib-70003The playback framework has not been initialized.
kDVDErrorNotAllowedDuringPlayback-70004action is not allowed during playback
kDVDErrorUnassignedGrafPort-70005A grafport was not set.
kDVDErrorAlreadyPlaying-70006Media is already being played.
kDVDErrorNoFatalErrCallBack-70007The application did not install a callback routine for fatal errors returned by the framework.
kDVDErrorIsAlreadySleeping-70008The framework has already been notified to sleep.
kDVDErrorDontNeedWakeup-70009DVDWakeUp was called when the framework was not asleep.
kDVDErrorTimeOutOfRange-70010Time code is outside the valid range for the current title.
kDVDErrorUserActionNoOp-70011The operation was not allowed by the media at this time.
kDVDErrorMissingDrive-70012The DVD drive is not available.
kDVDErrorNotSupportedConfiguration-70013The current system configuration is not supported.
kDVDErrorNotSupportedFunction-70014The operation is not supported. For example, trying to slow mo backwards.
kDVDErrorNoValidMedia-70015The media was not valid for playback.
kDVDErrorWrongParam-70016The invalid parameter was passed.
kDVDErrorMissingGraphicsDevice-70017A valid graphics device is not available.
kDVDErrorGraphicsDevice-70018A graphics device error was encountered.
kDVDErrorPlaybackOpen-70019The framework is already open (probably by another process).
kDVDErrorInvalidRegionCode-70020The region code was not valid.
kDVDErrorRgnMgrInstall-70021The region manager was not properly installed or missing from the system.
kDVDErrorMismatchedRegionCode-70022The disc region code and the drive region code do not match.
kDVDErrorNoMoreRegionSets-70023The drive does not have any region changes left.
kDVDErrordRegionCodeUninitialized-70024The drive region code was not initialized.
kDVDErrorAuthentification-70025The user attempting to change the region code could not be authenticated.
kDVDErrorOutOfVideoMemory-70026The video driver does not have enough video memory available to playback the media.
kDVDErrorNoAudioOutputDevice-70027An appropriate audio output device could not be found.
kDVDErrorSystem-70028A system error was encountered.
kDVDErrorNavigation-70029The user has made a selection not supported in the current menu.

Feedback, Comments & Corrections

DVDPlaybackMBS.LastErrorString as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns an error message for the lasterror code.
Notes: Requires Mac OS X 10.3 or newer.

Feedback, Comments & Corrections

DVDPlaybackMBS.Mute(mute as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Toggles the mute setting on or off.
Notes:
mute: a boolean value that specifies whether to turn the mute setting on or off. To mute the video playback volume, pass TRUE. To restore the previous volume setting, pass FALSE.

Lasterror is set.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

DVDPlaybackMBS.NextChapter
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Sets to the next chapter on the current title.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.OpenMediaFile(folder as folderitem)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Opens a VIDEO_TS folder (can be on a hard drive or a dvd disc).
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.OpenMediaVolume(disc as folderitem)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Opens a DVD disc for playback.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.Pause
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Pauses the media if currently playing.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.Play
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Starts playing the media.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.PreviousChapter
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Sets to the previous chapter on the current title.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.Resume
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Starts playing if currently paused.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.ReturnToTitle
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Returns from the menu back to the current position within the title.
Notes:
Requires Mac OS X 10.3 or newer.
Lasterror is set.

Feedback, Comments & Corrections

DVDPlaybackMBS.SetAngle(angle as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Sets the camera angle to display.
Notes:
angle: A 1-based index that specifies the camera angle to display. The angle number of the main angle is 1. DVD-Video media supports up to nine camera angles.

Lasterror is set.
Before calling this function, DVD-Video media needs to be open and video playback started. The DVD-Video author decides how many camera angles are used. If the specified angle does not exist, this function does nothing.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

DVDPlaybackMBS.SetAspectRatio(AspectRatio as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Sets the aspect ratio for the current title.
Notes:
AspectRatio: A constant that specifies the desired aspect ratio for the current title. For a list of possible values, see Aspect Ratios.

Lasterror is set.
This function does nothing and returns noErr.

Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

DVDPlaybackMBS.SetAudioOutputMode(Mode as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method DVD Playback MBS MacOSX Plugin 9.2 Yes No No No No
Function: Set the audio mode.
Notes: Lasterror is set.

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS MacOSX Plugin.




Links
MBS Xojo blog