         protected var _duration : Number;
         /** URL autoload feature */
         protected var _autoLoad : Boolean = false;
+        protected var _externalEventsMode : Number = 0;
 
         /** Initialization. **/
         public function ChromelessPlayer() {

            _setupSheet();
            _setupExternalGetters();
            _setupExternalCallers();

            setTimeout(_pingJavascript, 50);
        };

            }

            if (ExternalInterface.available) {
                if(_externalEventsMode === 1) {
                    ExternalInterface.call("flashlsEvents.onManifest", ExternalInterface.objectID, _duration);
                } else {
                    ExternalInterface.call("onManifest", _duration);
                }
            }
        };

