:: Support :: Additional HD Video Player Examples: Working with a Flash Media Server

This tutorial discusses the basics for streaming files hosted on a Flash Media Server using the HD Video Player. The primary advantages of streaming your video content (vs progressive delivery) include improved file security and instant seek ability (i.e. no waiting on the file to download). This example utilizes a StreamingPlayer component (480x270 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 using FlashVars in the embed scripts and the available playback parameters have been set within the XML.

Basics for loading streaming media files hosted on a Flash Media Server into the HD Video Player:

  1. In terms of supported formats, you can load FLV, H264, and AAC files hosted on a Flash Media Server (FMS or FMIS) into any ESA HD Video Player as a primary "stream" or "preroll" item (XML required for preroll items).

  2. You can host your FLV files on any Flash Media Server, and you specify the name of the file without the ".flv" extension when loading them into the player (e.g. if the file on your server has the name "myvideo.flv" you would omit the ".flv" extension when loading the file into the player).

  3. To stream your H264 and AAC files they must be hosted on a Flash Media Server 3 (or FMIS 3), and you specify the name of the H264 and HE-AAC file as "mp4:videofile.m4a", "mp4:videofile.mp4" or "mp4:videofile.mov" when you load it into the player (i.e. you must include the "mp4:" prefix and the filename extension f4v, mp4, m4a, mov, mp4v, 3gp, or 3g2). Refer to the Working with H264 Video and AAC Audio Files example for more information .

  4. In order to stream H264 and/or AAC files through the Flash Player, you must install Flash Player Version 9,0,115,0 or later - Click here to install the latest Flash Player.

  5. When using a XML playlist, you will need to set up the following nodes in your XML file for each streaming media file - Link to XML Example (NOTE: you will not be able to use the server settings in the example XML on your own server, because we have blocked all domains other than earthscienceagency.com from using our streaming server):

    <streams> or <prerolls> - name of streaming video file. When using the FLV format - on the server the file will have the ".flv" extenstion, but it should be omitted in the XML. When using H264 or AAC format - on the server the file have a name like "myfile.mov" or "myfile.mp4", but in the XML you will refer to the file as "mp4:myfile.mov" or "mp4:myfile.mp4".

    <server> - streaming server address (e.g. www.streamingserver.com or

    <appname> - application name (name of the application on the server where the files are stored; generally a directory/folder on the server)

  6. If you prefer to load a single streaming media file into the player using the StreamingPlayer's Component Inspector (i.e. hardcode the information into the FLA & SWF; this option can NOT be used for preroll items), you will enter the name of the streaming media file into the "Single Video Location" parameter field (without the ".flv" extension), and the server adress into the "Flash Media Server" parameter field (e.g. www.streamingserver.com or, and the application name into the "Application Name" parameter field.

  7. If you prefer to use FlashVars to load a single streaming file or XML playlist dynamically through the embed scripts, you should refer to the Dynamically Load Single Videos and XML Playlists using FlashVars example.


:: You can download a player like the one above on the Dynamically Load Single Videos and XML Playlists using FlashVars example page.


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