***Please see updated details***
Add several features to flash video player at [login to view URL] :
1. Addition of end-of-stream menu with the following items:
2. Addition of seek position in the format played/total (eg 0:23/1:24);
3. Auto-hide of skin controls & mouse cursor in full-screen mode;
4. Full-screen mode automatically selected on stream start, returning to normal size on stream finish;
5. "Restore Down?? icon turned inward in full screen mode;
6. Incorporate silent bandwidth test (100k) and stream selection using actionscript (currently js, external to swf). Add "loading" graphic;
7. Compacting of swf to approx 50k or less (currently 225k);
8. Enhancement of the overall “look??;
9. Export stats into sql database via php:
## Deliverables
**NB: The Following deatils are contained in the attached document "Celluloid Cactus- Flash Player Upgrade- Project [login to view URL]"
**
**Additions to current skin:**
Addition of configurable "Start-of-stream" still image containing play button graphic (and mouse-over glow);
Addition of end-of-stream menu with the following items:
| **Icon** | **Action (NB: all submenus escapable)** | **Tooltip** |
| Replay | Re-starts current stream without bandwidth test; increment view counter | Replay this video from the start |
| Archive | Replaces the current page with [login to view URL] | Check out other Celluloid Cactus productions |
| Share | Menu pops up with field for user enter email address to send an email with an embedded link | Share this video by email |
| Rate | Menu pops up with 5 empty stars and the user is invited to rate the video. The rating is averaged with the other ratings in the mySQL database | Rate this video |
| Feature Video | Replaces the current page with [login to view URL] | Checkout the feature video |
| Buy on DVD | Sub-menu pops up with: "Please select your format: NTSC or PAL | Purchase this title online |
| Buy on DVD sub-menu item: PAL | Link to be advised | Australia, UK and others (check before purchase). |
| Buy on DVD sub-menu item: NTSC | links to [login to view URL] | North America and others (check before purchase) |
NB: The above icons (and mouse-over glow) will need be designed in accordance with the source graphic by the worker. Please animate the onset appearance of this menu (eg icons flying in from sides and gradually slowing to a stop or better);
Addition of seek position in the format played/total (eg 0:23/1:24). This will need to be automatically or manually configurable depending on the length of the stream being imported into the flash project;
**Decrease the size of the output (swf):**
Currently the skin occupies 225k. By re-importing the graphics it is desired that this size is reduced to as little as possible to reduce loading time. Compacting of swf to 50k or less is acceptable however 20k is preferable.
**Enhancement of the overall “look??.**
1. Convert the "% buffered" graphic from a stretching image to a sliding image;
2. Redesign the seek position indicator, currently a white double triangle;
3. Although the worker is encouraged to use their discretion, it is expected that the existing skin graphics, available in the submitted fla project file and as a separate zip is photoshop format, be used as a guide.
**Desired operation:**
When the swf module is loaded into an HTML page, a placeholder graphic the same size as the skin (544x365) appears, along with a "cactus style" large play button which glows with mouse-over (the existing button graphic is suitable).
**Full screen mode:**
1. Automatically selected on stream start and automatically returning to normal size on stream finish;
2. Auto-hide of skin controls & mouse cursor in full-screen mode;
3. Existing "restore down?? icon turned inward in full screen mode;
**Bandwidth testing and reporting:**
When the user clicks the "play" icon, the placeholder graphic is replaced with the "loading" animation.
At the same time, the skin starts a timer and downloads a file of approximately 100k from the [login to view URL] server (this file can be a component of the loading animation if it reduces the swf size).
After the download has finished, the timer stops and then a mathematical calculation is performed to arrive at the bandwidth in kbps connecting the client computer to the server.
The script will then select a stream on the server that has been encoded to be delivered over the measured bandwidth. The filename will be in the format projectname_quality (eg drfreo_high). Also, the skin displays a small "LQ / MQ / HQ" stream quality indicator in the control button area of the skin.
The streams are encoded with the following parameters:
Less than 600kbps: project_low, encoded at 300kbps;
600-1000kbps: project_medium, encoded at 600kbps;
Greater than 1500kbps: project_high, encoded at 1500kbps;
Two statistics are then written to the mySQL database "stats" table- the **measured kbps** and the **name of the selected stream**. The server will automatically record the timestamp. Also, the view counter in the mySQL database "views" table is incremented.
While the stream is playing, the number of times the full screen icon is used as well as the percentage of the stream that has played (updated every 5 seconds) is recorded to the same row of the "stats" table.
**Development environment:**
A special section of the [login to view URL] server will be created for development and testing purposes, including:
- Six f4v streams of two movies of different length and encoded in the three bitrates;
- A copy of the HTML page which will contain the flash module (swf);
- An empty database structure in line with these requirements;
- Anything else the developer requires in order to complete the task.
**Deliverables:**
Instructions on how to customise the skin for any given stream, assuming the user has a basic knowledge of Flash:
- How to import the still image placeholder tile;
- How to import the stream;
1x complete flash project file for skin with all options intact;
1x flash project file for skin WITHOUT the "Feature Video" or "Buy on DVD" options;
1x flash project file for skin WITHOUT the "Buy on DVD" option;
3x flash project files for skin- same as the three above and WITHOUT the title tile and where the bandwidth test and stream starts playing automatically in full-screen mode without user intervention. ;