The default for a real sighting, one witness or several. It composes an
<rr0-scene> and adds the toolbar: who is testifying, and the ?
panel
with the observation's own metadata, its credits and its embed lines.
<rr0-sighting src="sighting.json"></rr0-sighting>
<rr0-sighting src="witnesses.json"></rr0-sighting> <!-- a manifest -->
| Member | Kind | What it does |
|---|---|---|
src | attribute | A single recording, or a manifest — an array is one, an object is the other |
witnessUrls | property | The manifest as a plain array of URLs, instead of src |
sightingData | property | One recording, set directly — for a page holding one in memory rather than at a URL |
scene | property (read) | The composed <rr0-scene>, and through scene.ufoElement the playback members |
loadFromSrc(url) | method (async) | What the attribute triggers |
A recording that names no witness gets no “testimony by” line at all, which is the accurate thing to say of a sky set up to show a halo.
Putting it in your page#
<script type="module" src="https://ufoathome.org/lib/rr0-sighting.mjs"></script>
<rr0-sighting src="sighting.json"></rr0-sighting>
Or, after npm install @rr0/ufoathome: import "@rr0/ufoathome/sighting".
The bundle is 249 KB gzipped and registers the tag itself — nothing else to call.
The hub says what else that involves, and
sharing an observation has the whole example, to try and to copy.