how to start oculus rift vr in html5

I have a game which works good in HTML 5 and I can play it from editor in VR preview mode using Oculus.
How I can start my game in VR mode in HTML 5?
My browsers are configured to support Oculus. For example, I can view models in VR on
But my game always started in HTML 5 in standard 3d mode. How I can activate Oculus from my game?

Hi Oleg

I have accomplished to launch my app in VR by executing some console commands.
At event begin I have this commands:
-stereo on
-hmd sp 100
-hmd mirror off

But I have just worked on a normal game and not a game that uses html5

Hope I could help you :wink: