forked from EXT/VR180-Web-Player
Merge remote changes with local updates
This commit is contained in:
@@ -5,8 +5,9 @@ Got an immersive video you want people to see with the Apple Vision Pro or Meta
|
|||||||
|
|
||||||
## How to use it
|
## How to use it
|
||||||
1. Drop the `vr180player` directory in the root level of your website.
|
1. Drop the `vr180player` directory in the root level of your website.
|
||||||
2. Add the player script `<script type="module" src="vr180-player.js"></script>` before the closing body tag.
|
2. Link to the player CSS file `<link rel="stylesheet" href="vr180player/vr180-player.css">`.
|
||||||
3. And use this HTML snippet to embed your video:
|
3. Add the player script `<script type="module" src="vr180-player.js"></script>` before the closing body tag.
|
||||||
|
4. And use this HTML snippet to embed your video:
|
||||||
```
|
```
|
||||||
<div id="vr-container">
|
<div id="vr-container">
|
||||||
<video id="vr180" poster="poster.jpg" title="Demo Video" crossOrigin="anonymous" playsinline>
|
<video id="vr180" poster="poster.jpg" title="Demo Video" crossOrigin="anonymous" playsinline>
|
||||||
|
|||||||
Reference in New Issue
Block a user