Skip to content

Graph disappears when in VR mode? #27

@malani-art

Description

@malani-art

Hi, after many attempts, I was finally able to get VR working with another github project quite easily (https://github.com/mister-blanket/blood-lines)

But, now I am facing another issue: when I click on the Enter VR button, the 360 video appears correctly but the graph does not, at all. If anyone has any ideas at all, that would be super appreciated as I'm not sure what the issue is.

I'm wondering if this is a container issue? Here is my code:

<!DOCTYPE html>
<html lang="en">
<head>

//font
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link href="https://cdn.rawgit.com/mister-blanket/portfolio/master/css/fontawesome/css/all.css" rel="stylesheet">
  <title>Blood Lines</title>

</head>

<body>
  <div id='root'></div>
//container for 360 video
  <div id="container"></div>
    <canvas data-engine="three.js r135" width="563" height="706" z-index="-1"
    style="display: block; width: 563; height: 706;"></canvas>
</div>

//360 video
<video id="background-video" autoplay loop muted>
 <source src="http://altartnet.com/~malani/Test360VRCam_CorrectFPS_1.mp4" type="video/mp4">
</video>



</body>


</html>

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions