          */
 		public function onJsReady(): void {
 			jsReady = true;
-			if ( videoStarted ) {
+			if ( adStarted ) {
 				startImpressionTimer();
 			}
 			raiseReady();

					_intervalTimer.removeEventListener(TimerEvent.TIMER, onIntervalCheck);
					_intervalTimer = null;
					break;
				case VPAIDEvent.AdVideoStart:
					videoStarted = true;
					if ( jsReady ) {
						startImpressionTimer();
					}


	        private var _isPaused: Boolean = false;
		/**
		 * True if VPAID AdImpression event has been received
		 */
		private var adStarted:Boolean;
		/**
		 * True if JS is ready, and beacons are loaded if needed.
		 */
