Multimedia Guide and Reference

What to watch for

Resizing the video playback window

When video is played, it can play in three different sizes: normal, half, and double. Regardless of the size of the window, the video will not resize itself to the dimensions of the window. In all likelihood, the video will be clipped and you will not be able to see the entire video. Therefore, when the recomputeSize attribute is true, the following algorithm is used to change the video playback window size:

  1. If the video window is larger than double the video size, then resize the window to be the double size of the video.
  2. If the video window is larger than the normal video size, then resize the window to be the normal size of the video.
  3. If the video window is larger than half the video size, then resize the window to be the half size of the video.
  4. If the above conditions fail, then do not resize the window but trigger an error message which can be retrieved from the last error object.


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