putEventValue(evt, "playState", event.getPlayState().name());
putEventValue(evt, "itemIndex", event.getItemIndex());
runCallback(eventHandlers.get(EventName.onPlayState), evt);
}
});
player.addLoadingProgressHandler(new LoadingProgressHandler() {
@Override
public void onLoadingProgress(LoadingProgressEvent event) {
JavaScriptObject evt = JavaScriptObject.createObject();
putEventValue(evt, "progress", event.getProgress());