play a 360 degree video in VR mode

I am using a scene kit to play a 360 degree video in my iOS app. More over i have VR button in my app, once the user clicks on VR Button 360 degree video should resume in VR mode. Please let me know how to achieve this. Thanks in advance.