Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/MozillaReality/immersive-custom-elements

Immersive Custom Elements
https://github.com/MozillaReality/immersive-custom-elements

Last synced: about 2 months ago
JSON representation

Immersive Custom Elements

Awesome Lists containing this project

README

        

# Immersive Custom Elements

`immersive-custom-elements` is a set of web components to embed immersive (VR & AR) content into
your web page by using custom element tags. It currently includes components for

* 360 images
* 360 video

[Demo](https://mixedreality.mozilla.org/immersive-custom-elements/examples/index.html) /
[Blog post](https://blog.mozvr.com/custom-elements-for-the-immersive-web/)

## Usage

### Sample code

Add the link to `immersive-custom-elements.js` with `` tag. You can download the file from this repository or use the link to the CDN.

```html
<html>
<head>
<script src="https://rawcdn.githack.com/MozillaReality/immersive-custom-elements/v0.2.0/build/immersive-custom-elements.js">