To position the camera, set the position on a wrapper . Don’t set the position directly on the camera primitive because controls will quickly override the set position:
<a-entity position="0 0 5"> <a-camera></a-camera> </a-entity>