{
  "adapter,getVersion": "return'7.0.1-nagra-react-native'",
  "adapter,getPlayhead": "return this.playhead",
  "adapter,getIsLive": "return!this.duration",
  "adapter,getDuration": "return this.duration",
  "adapter,getResource": "return this.resource",
  "adapter,setPlatform,platform": "this.reactPlatform=platform;",
  "adapter,getRendition": "if(this.width&&this.height){return this.getNpawUtils().buildRenditionString(this.width,this.height);};return null",
  "adapter,getPlayerName": "return'Nagra React Native'",
  "adapter,unregisterListeners": "if(this.monitor)this.monitor.stop();",
  "adapter,onLoad,e": "var size=e.naturalSize;if(size){this.width=Math.round(size.width);this.height=Math.round(size.height)};this.duration=e.duration;this.fireStart()",
  "adapter,onLoadStart,e": "this.resource=e.src;this.fireStart();if(!this.flags.isJoined){this.isWaiting=false;this.fireJoin();};this.fireBufferEnd({},'onLoadStart');this.fireResume();this.pausePlayhead=null",
  "adapter,onPlaying,e": "this.fireStart();if(!this.flags.isJoined){this.isWaiting=false;this.fireJoin();};if(this.pausePlayhead&&Math.abs(this.getPlayhead()-this.pausePlayhead)>0.5&&!this.flags.isPaused){this.fireSeekEnd({},'onPlaying');this.pausePlayhead=null;};if(this.reactPlatform&&this.reactPlatform=='ios'&&!this.pausePlayhead){this.fireSeekEnd({},'onPlaying');this.pausePlayhead=null;};this.fireBufferEnd({},'onPlaying');this.fireResume();",
  "adapter,onProgress,e": "this.playhead=e.currentTime;this.fireStart();if(this.playhead>0.5&&!this.flags.isJoined){this.fireJoin();};if(this.pausePlayhead&&!this.flags.isPaused){if(Math.abs(this.getPlayhead()-this.pausePlayhead)>2){this.fireSeekEnd({},'onProgress');}else if(this.isWaiting){this.fireBufferBegin({},true,'onProgress');this.fireBufferEnd({},'onProgress');}else{this.cancelSeek();this.chronos.pause.pauseTime=null;};this.isWaiting=false;this.pausePlayhead=null;}",
  "adapter,onSeek,e": "if(this.reactPlatform&&this.reactPlatform=='ios'){this.fireSeekBegin({},false,'onSeek');}",
  "adapter,onWaiting,e": "this.isWaiting=true;this.fireBufferBegin({},false,'onWaiting');",
  "adapter,onPaused,e": "if(this.reactPlatform&&this.reactPlatform=='android'){this.pausePlayhead=this.getPlayhead();this.fireSeekBegin({},true,'onPaused');};this.firePause();if(this.reactPlatform&&this.reactPlatform=='android'){this.chronos.pause.startTime=new Date().getTime();}",
  "adapter,onError,e": "this.fireError(e.code,e.nativeError);",
  "adapter,onStopped,e": "this.fireStop()",
  "adapter,onEnd,e": "this.fireStop()"
  }