forked from EXT/VR180-Web-Player
Update vr180-player.js and index.html to use HTML text for enterVrBtn and fix exit VR label
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
<video id="vrVideo" controls crossOrigin="anonymous" playsinline webkit-playsinline>
|
||||
<source src="REPLACE_THIS.mp4" type="video/mp4">
|
||||
</video>
|
||||
<button id="enterVrBtn">Enter VR</button>
|
||||
</div>
|
||||
</div>
|
||||
<button id="enterVrBtn" data-enter-vr-text="Enter VR">Enter VR</button>
|
||||
<script type="module" src="vr180-player.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -971,7 +971,6 @@ function onVRSessionEnd(event) {
|
||||
enterVrBtn.textContent = enterVrBtn.dataset.enterVrText;
|
||||
}
|
||||
|
||||
|
||||
onWindowResize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user