Black screen in webvr

I have a problem with displaying content in webvr.
I use Moto Z and daydream.
When going to the web, vr gets a black image.
Examples on external pages work correctly but when placed on the domain or testing locally, everything becomes black.
Of course I’ve included the flag in the browser and used Google Origin trials. Below is a copied example with its own origin code that gives the same effect
Maybe someone has encountered this type of problem because I gave up after two nights.

The following line of code is commented out in your application:

renderer.vr.enabled = true;

It is necessary for correct VR rendering.

wow I had to get lost track in all these code modifications. The problem was so simple that I did not notice it. Thanks a lot