:: Support :: Additional HD Video Player Examples: StreamingPlayer with Controller and Pause Image

This example utilizes a StreamingPlayer component (320x240 pixels) and the optional Controller component with play, pause, next, previous, progress controls, volume controls, and controller text enabled (Titanium Skin). The XML location is set within the Component Inspector and the available playback parameters have been set within the XML (including the pauseImage parameter).

To enable the Pause Image feature in your existing HD Video Player SWF (XML required):

  1. Set the pauseImage parameter in the XML to one of the following settings:
    "Yes-always" - the pause image will be displayed whenever the video is paused
    "Yes-on first frame" - the pause image will be displayed when the player is paused on the first frame of the video only
    "Yes-on last frame "- the pause image will be displayed when the player is paused on the last frame of the video only
    "Yes-first and last" - the pause image will be displayed when the player is paused on the first and last frames of the video only
    "No-always" - the pause image will not be displayed
  2. Add the <pauseImage> node to your XML for each video. This node should contain the path to the image you want to display (can be a logo, advertisement, or a screenshot of the video). The image file will automatically be resized and repositioned to fit within the display area (supported formats include JPG, SWF, PNG, or GIF; only the first frame of a GIF will be displayed).
    Link to XML example

To use the example player above without the DEMO text (purchase required):

  1. Install your purchased copy of the MXP in your Flash 8/CS3/CS4 authoring software by double-clicking the file named "ESA_HD_Video.mxp". This will open the Extension Manager, which will prompt you to complete your installation. NOTE: Before installing the MXP file you will have to unpack your downloaded ZIP file and shut down your authoring software if it is open.
  2. Download the example files using the link below, and unpack the ZIP file.
  3. Open the file named "pauseImage.fla" in your copy of Flash 8/CS3/CS4.
  4. Open the Components menu and look for a folder named "ESA HD Video Player". In this folder, there will be three components named StreamingPlayer, Playlist, and Controller.
  5. Add an instance of the StreamingPlayer to the stage by double-clicking it in the menu.
  6. Flash will open a "Resolve Library Conflict" window, and ask if you want to replace the existing item in the library - toggle the "Replace existing items" button and click "OK".
  7. You should now see 2 StreamingPlayer components on the stage; one in the same position as the original, and a new component near the middle of your screen.
  8. Select the new StreamingPlayer component near the middle of your screen and delete it.
  9. The remaining StreamingPlayer component on the stage is the updated component with your previous settings (without the DEMO text).
  10. You can now modify the component parameters, save your project, and publish a new SWF.

:: Download Example Files


Support - Documentation - Skin Wizard - Sample Skins - Tutorials
Copyright © 2003-2012 Earth Science Agency, LLC - All Rights Reserved