Skip to main content
100%

Gist b076c63afe4fb84322089c4f42d4c4ce

✓ Published0🌍 Public
UUtopiah
Last edited Feb 20, 2022
Created on Feb 20, 2022

This example demonstrates how to fetch and display a web page’s Open Graph description as a text label inside a Mozilla Hubs virtual room, using A-Frame entities and the Fetch API with DOMParser. The code requests `/cloud`, parses the returned HTML for the `og:description` meta tag, and appends a networked A-Frame text element at a fixed position. Because the text is not integrated with Hubs’ NAF schemas, the label is visible only to the local user, not shared across participants.

AI-generated description

Similar vizzes