Skip to content

Instantly share code, notes, and snippets.

@chrismatthieu
Created August 4, 2021 16:48
Show Gist options
  • Save chrismatthieu/0f400975a1f5adebfcb7fb6117763f77 to your computer and use it in GitHub Desktop.
Save chrismatthieu/0f400975a1f5adebfcb7fb6117763f77 to your computer and use it in GitHub Desktop.
{
"assets": [
{ "id": "cityModel", "src": "https://cdn.aframe.io/test-models/models/glTF-2.0/virtualcity/VC.gltf"}
],
"entities": [
{ "id":"city", "gltf-model": "#cityModel"}
],
"embeds":[
{ "id":"video", "position": { "x": 3, "y": 4, "z": 19 }, "rotation": { "x": 0, "y": 180, "z": 0}, "scale": 45, "html": "<video autoplay loop='true' crossorigin='anonymous' src='https://xrpanet.s3-us-west-1.amazonaws.com/proudmary.mp4' type='video/mp4' playsinline webkit-playsinline style='position: absolute;z-index: -1000;'></video>" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment