Changeset 866


Ignore:
Timestamp:
03/02/10 19:07:01 (3 years ago)
Author:
pablo
Message:

Fixed issue where plugin would not show up for uncookied users unless hd.state was set in flashvar config

Location:
branches/plugins/hd
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/plugins/hd/src/com/longtailvideo/plugins/hd/HD.as

    r853 r866  
    5050                        _player = player; 
    5151                        _config = cfg; 
    52                         if (config.state.toString() == 'true') { 
     52                        if (String(config.state) == 'true') { 
    5353                                config.state = true; 
    5454                        } else { 
     
    111111                private function setUI():void { 
    112112                        if (config.file || (_currentItem && _currentItem.hasOwnProperty('hd.file'))) { 
    113                                 if (config.state == false) { 
     113                                if (!config.state) { 
    114114                                        if (_button) { 
    115115                                                _button.field.text = 'is off'; 
Note: See TracChangeset for help on using the changeset viewer.