Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

DVDPlaybackMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DVD Playback MBS MacOSX Plugin 3.4 Yes No No Yes, macOS only No
Function: A class for DVD Playback on Mac OS X 10.3
Notes:
Requires Mac OS X 10.3 or newer.

The DVD Playback application programming interface (API) gives you access to the DVDPlayback framework, allowing you to offer DVD playback functionality from within your application.

During a playback "session," the application must perform specific minimum operations, as follows:

1. Initialize the playback framework with calling Open. The DVDPlayback framework can only be opened by oneprocess at a time. If a second process attempts to initialize it, an error will be returned.
2. Set the playback window with SetPlayWindow.
4. Set the video bounds with SetVideoBounds. This is the bounds within the window and is in port coordinates.
5. Open the media with OpenMediaVolume (DVD disc) or OpenMediaFile (VIDEO_TS folder).
6. Play the media.
7. When finished or switching media, close with the appropriate call (CloseMediaVolume or CloseMediaFile)
8. When quitting or finishing session, tear down the DVDPlayback framework with calling close.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


DRTrackMBS   -   DVDPlaybackMissingFunctionExceptionMBS




Links
MBS Xojo tutorial videos