Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| var hubsProxy = "https://hubs-spatializedinternal-link-cors-proxy.vrtohubs.workers.dev/" | |
| var playlist = [ | |
| "https://vrtovideostreaming.s3.us-east-2.amazonaws.com/Accessibility/CC+John+Avila+-+Designing+Accessible+Experiences+for+VR+and+AR+720p.mp4", | |
| "https://vrtovideostreaming.s3.us-east-2.amazonaws.com/Accessibility/CC+VRTO2020+Wishplay+and+VR+-+David+Parker+-+Final.mp4" | |
| ] | |
| var currentVideo = 0 | |
| function videoEnded(){ | |
| console.log('video ended') | |
| if (currentVideo == playlist.length-1 ) { |
| var snappableContentHash = "gett" | |
| // https://media.npr.org/assets/img/2016/04/16/gettyimages-457299112_wide-4c214dcd4c434f5aaf370c5e948f1dd4e73af6e2-s800-c85.jpg | |
| var snappedToWallHash = "ta16" | |
| // caching via URL so when not uploaded from device, works well | |
| // https://www.thedyslexiashop.co.uk/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/t/a/ta162.png | |
| if (snapping) clearInterval(snapping) | |
| var snapping = setInterval( ifNearbySnap, 100 ) |