Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BrightcoveOS/Rendition-Selector-Plugin
Populates a ComboBox in BEML named "renditionCombo", displaying various choices for rendition quality selection.
https://github.com/BrightcoveOS/Rendition-Selector-Plugin
Last synced: 3 months ago
JSON representation
Populates a ComboBox in BEML named "renditionCombo", displaying various choices for rendition quality selection.
- Host: GitHub
- URL: https://github.com/BrightcoveOS/Rendition-Selector-Plugin
- Owner: BrightcoveOS
- Created: 2011-06-24T18:48:52.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-06-09T21:18:58.000Z (over 12 years ago)
- Last Synced: 2024-07-30T02:24:36.865Z (3 months ago)
- Language: ActionScript
- Homepage:
- Size: 688 KB
- Stars: 10
- Watchers: 9
- Forks: 14
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - Rendition-Selector-Plugin - Populates a ComboBox in BEML named "renditionCombo", displaying various choices for rendition quality selection. (Unsorted / Other API)
README
Overview
========Populates a ComboBox in BEML named "renditionCombo", displaying various
choices for rendition quality selection.This plugin works with progressive or streaming video. In the case of
progressive download the video is loaded again and has to start
from the beginning.Downloading the Plugin
======================Versioned downloads of the SWF are available by clicking the Downloads button
on Github and then selecting one of the download packages available.Configuring the Plugin
======================The format for specifying choices is as follows:
RenditionSelector.swf?choices=LOW,200-400|MED,700-900|HIGH,1000-1300|HD,1600-2000&default=MED&spinner=true&spinnerbg=false
In this example, 4 choices will be added to the ComboBox
and they will be matched up to renditions which fall within
the range of bitrates specified. For HD, a rendition
that has an encoding rate between 1600 and 2000 kbps
will be used. If one can't be found, then the HD choice would
be left out. If more than one rendition exists within that
range then the user's bandwidth is taken into account and
the best rendition is selected.- Choices are separated by a | (pipe)
- The label that is displayed is separated from the encoding rage by a , (comma)
- The encoding range is separated by a - (dash)The order can be changed and will then be reflected in the ComboBox.
A negative one value (-1) is a special value that designates auto rendition
selection. An example for how that might look is below.RenditionSelector.swf?choices=LOW,200-400|MED,700-900|HIGH,1000-1300|HD,1600-2000|AUTO,-1&default=MED
All of the labels can be changed, HD, HIGH, MED, LOW and AUTO have no special meaning.
The param "default" informs the selector which choice to default the ComboBox to.
The param "spinner" toggles the visibility of a loading spinner which appears during rendition changes.
The param "spinnerbg" toggles the background that appears along with the spinner icon.
Configuring the BEML
====================A ComboBox component with the id "renditionCombo" needs to be added to
the BEML for the player and two sample BEML templates have been included.