Multimedia Guide and Reference


Connecting the video pieces together

The connections you make are few and simple. There are two important connections that need to be made. First, connect the aboutToOpenWidget event of the window to the openFile action of the player. Next, connect the aboutToCloseWidget event of the window to the close action of the player. You need to open the player before you can do anything and you should always clean up when you are done with the player, so close it.

Once opened, a multimedia player must close before it, or another player, is opened again. Otherwise, you get a system hang or other unexpected results.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]