VR Mode for CesiumJS

i have been coding a virtual reality feature for cesiumjs. you can check at CesiumJS VR by IDMapping. is this method correct? how to interact with aframe js or the other libs?
Capture