Setting up your Extreme Media Player
Extreme Media Player is meant to be edited mainly through the supplied XML file. If you choose to use different fonts or edit other aspects of the media player, you will have to edit the .fla file.
If you will be using Extreme Media Player inside of a different .fla file:
- Make sure you include the code that is located in the "a" layer of the main timeline. Without this code, the player will not work.
- Copy the Assets folder & the videoPlayer movie clip from the library.
- Paste these files into your new .fla file
- Drag an instance of the videoPlayer movie clip onto your stage
Creating Thumbnails
- Category Thumbnails should be saved at 73 x 73 pixels.
- Project Thumbnails should be saved at 55 x 55 pixels.
Audio Images
For each audio file you must have a path to an Audio Image!
- Can be either .jpg's or .swf's.
- Can be any size.
- If you are using a .swf, you must have whatever is in your swf in a movie clip that is created aligned to the center, not top-left or any other alignment. If this is not done, your .swf will not align correctly when it loads into the Media Player
Flash Media Server
Extreme Media Player is set up to play streaming (Live) Audio and (Live) Video from flash Media Servers
Just put the rtmp path into the PATH tag for the project
- If the stream is an audio file, remember to add a path for the Audio Image as well
- For live streams you must also add a couple attributes to the PATH tag for the project
- mode="live"
- width="600" - or whatever the width of the video, or the Audio Image is.
- height="400" - or whatever the height of the video, or the Audio Image is.
- If you do not add these attributes, your live stream will not play.
The XML File
Here are what all of the tags mean:
- WEB_ADDRESS - Put the web address where you will be hosting this file.
- HIGHLIGHT_COLOR - The 1st highlight color for the media player (use hexidecimal number).
- HIGHLIGHT_COLOR_2 - The 2nd highlight color (use hexidecimal number).
- TEXT_COLOR - The color of the text on the Category and Project Buttons (use hexidecimal number).
- CATEGORY - Contains all of the elements for a single category.
- NAME - The name of the Category.
- THUMBNAIL - The path of the image used for the Category thumbnail.
- DESCRIPTION - The description of the Category.
- PROJECT - Contains all of the elements for a single Project.
- NAME - The name of the Project.
- THUMBNAIL - The path of the image used for the Project thumbnail.
- IMAGE - The path of the image used for the background of an audio file. You must have an image for audio files. (You do not need to put anything for video files).
- PATH - The path of the Project file.
- If you are playing a live stream you must add these attributes to this tag:
- mode="live"
- width="600" - or whatever the width of the video, or the Audio Image is.
- height="400" - or whatever the height of the video, or the Audio Image is.
- If you are playing a live stream you must add these attributes to this tag:
- DESCRIPTION - The description of the Project.
This file uses Caurana Tweener
Documentation for Tweener can be found at http://code.google.com/p/tweener/
Licensing for Tweener can be found at http://www.opensource.org/licenses/mit-license.php
Licensing notice for Caurina Tweener
The MIT License
Copyright (c)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

