Changeset 703
- Timestamp:
- 12/02/09 12:28:50 (3 years ago)
- Location:
- trunk/fl5
- Files:
-
- 4 edited
-
player.swf (modified) (previous)
-
src/com/longtailvideo/jwplayer/model/Model.as (modified) (3 diffs)
-
src/com/longtailvideo/jwplayer/model/PlayerConfig.as (modified) (4 diffs)
-
src/com/longtailvideo/jwplayer/player/PlayerVersion.as (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/src/com/longtailvideo/jwplayer/model/Model.as
r700 r703 74 74 */ 75 75 public class Model extends GlobalEventDispatcher { 76 pr ivatevar _config:PlayerConfig;77 pr ivatevar _playlist:IPlaylist;78 79 pr ivatevar _fullscreen:Boolean = false;80 81 pr ivatevar _currentMedia:MediaProvider;82 83 pr ivatevar _mediaSources:Object;76 protected var _config:PlayerConfig; 77 protected var _playlist:IPlaylist; 78 79 protected var _fullscreen:Boolean = false; 80 81 protected var _currentMedia:MediaProvider; 82 83 protected var _mediaSources:Object; 84 84 85 85 /** Constructor **/ … … 187 187 188 188 189 pr ivatefunction forwardEvents(evt:Event):void {189 protected function forwardEvents(evt:Event):void { 190 190 if (evt is PlayerEvent) { 191 191 if (evt.type == MediaEvent.JWPLAYER_MEDIA_ERROR) { … … 199 199 200 200 /** e.g. http://providers.longtailvideo.com/5/myProvider.swf --> myprovider **/ 201 pr ivatefunction url2type(type:String):String {201 protected function url2type(type:String):String { 202 202 return type.substring(type.lastIndexOf("/") + 1, type.length).replace(".swf", "").toLowerCase(); 203 203 } -
trunk/fl5/src/com/longtailvideo/jwplayer/model/PlayerConfig.as
r689 r703 14 14 */ 15 15 public dynamic class PlayerConfig extends EventDispatcher { 16 pr ivatevar _singleItem:PlaylistItem;17 18 pr ivatevar _playlistfile:String = null;19 20 pr ivatevar _autostart:Boolean = false;21 pr ivatevar _bufferlength:Number = 5;22 pr ivatevar _displaytitle:Boolean = true;23 pr ivatevar _fullscreen:Boolean = false;24 pr ivatevar _item:Number = 0;25 pr ivatevar _linktarget:String = "_blank";26 pr ivatevar _mute:Boolean = false;27 pr ivatevar _repeat:String = RepeatOptions.NONE;28 pr ivatevar _shuffle:Boolean = false;29 pr ivatevar _smoothing:Boolean = true;16 protected var _singleItem:PlaylistItem; 17 18 protected var _playlistfile:String = null; 19 20 protected var _autostart:Boolean = false; 21 protected var _bufferlength:Number = 5; 22 protected var _displaytitle:Boolean = true; 23 protected var _fullscreen:Boolean = false; 24 protected var _item:Number = 0; 25 protected var _linktarget:String = "_blank"; 26 protected var _mute:Boolean = false; 27 protected var _repeat:String = RepeatOptions.NONE; 28 protected var _shuffle:Boolean = false; 29 protected var _smoothing:Boolean = true; 30 30 //TODO: Move to ENUM class 31 pr ivatevar _stretching:String = "uniform";32 pr ivatevar _volume:Number = 90;33 34 pr ivatevar _backcolor:Color = null;35 pr ivatevar _frontcolor:Color = null;36 pr ivatevar _lightcolor:Color = null;37 pr ivatevar _screencolor:Color = null;31 protected var _stretching:String = "uniform"; 32 protected var _volume:Number = 90; 33 34 protected var _backcolor:Color = null; 35 protected var _frontcolor:Color = null; 36 protected var _lightcolor:Color = null; 37 protected var _screencolor:Color = null; 38 38 39 39 //TODO: Move to ENUM class 40 pr ivatevar _controlbar:String = "bottom";41 pr ivatevar _dock:Boolean = true;42 pr ivatevar _height:Number = 400;43 pr ivatevar _icons:Boolean = true;44 pr ivatevar _logo:String = null;45 pr ivatevar _playlist:String = "none";46 pr ivatevar _playlistsize:Number = 180;47 pr ivatevar _skin:String = null;48 pr ivatevar _width:Number = 280;49 50 pr ivate var _plugins:String = "";51 pr ivatevar _pluginConfig:Object = {};52 53 pr ivatevar _playerready:String = "";54 pr ivatevar _debug:String = Logger.NONE;40 protected var _controlbar:String = "bottom"; 41 protected var _dock:Boolean = true; 42 protected var _height:Number = 400; 43 protected var _icons:Boolean = true; 44 protected var _logo:String = null; 45 protected var _playlist:String = "none"; 46 protected var _playlistsize:Number = 180; 47 protected var _skin:String = null; 48 protected var _width:Number = 280; 49 50 protected var _plugins:String = ""; //plugins initial string 51 protected var _pluginConfig:Object = {}; 52 53 protected var _playerready:String = ""; 54 protected var _debug:String = Logger.NONE; 55 55 56 56 public function PlayerConfig():void { … … 81 81 } 82 82 83 pr ivatefunction setProperty(name:String, value:String):void {83 protected function setProperty(name:String, value:String):void { 84 84 if (hasOwnProperty(name)) { 85 85 try { … … 98 98 * @param value The value to set. 99 99 */ 100 pr ivatefunction setPluginProperty(name:String, value:String):void {100 protected function setPluginProperty(name:String, value:String):void { 101 101 var pluginId:String = name.substring(0, name.indexOf(".")).toLowerCase(); 102 102 var pluginProperty:String = name.substring(name.indexOf(".") + 1, name.length).toLowerCase(); … … 114 114 * @param key The requested PlaylistItem property 115 115 */ 116 pr ivatefunction playlistItem(key:String):String {116 protected function playlistItem(key:String):String { 117 117 try { 118 118 return _singleItem[key].toString(); -
trunk/fl5/src/com/longtailvideo/jwplayer/player/PlayerVersion.as
r700 r703 3 3 4 4 public class PlayerVersion { 5 protected static var _version:String = "5.0.70 0";5 protected static var _version:String = "5.0.703"; 6 6 7 7 public static function get version():String {
Note: See TracChangeset
for help on using the changeset viewer.
