fixing play method in nativeComponent