@rr0/ufoathome 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist-embed-scene/rr0-scene.mjs +218 -218
- package/dist-embed-sighting/rr0-sighting.mjs +225 -225
- package/dist-embed-sighting-editor/{SightingEditorMessages_fr-DbiJQm_H.js → SightingEditorMessages_fr-BDjdcHLu.js} +1 -1
- package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +228 -227
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -137,7 +137,7 @@ which since 0.54.0 draws nothing but the editing handles — the shape itself st
|
|
|
137
137
|
| `enableClickToPlay` | property (get/set, default `true`) | Whether clicking the canvas toggles Play/Pause (see below). Composing elements that need the canvas's own click for something else set this to `false` — see `<rr0-sighting-editor>`. |
|
|
138
138
|
| `fullscreenTarget` | property (get/set, default: the component's own stage) | The element the fullscreen button requests fullscreen on. Composing elements that need a *different* element fullscreened set this — see `<rr0-scene>`. |
|
|
139
139
|
| `play()` / `pause()` | method | Start or stop playback. Alongside `togglePlayPause()` because a caller sequencing several recordings needs to say which state it wants, not flip whatever the current one happens to be |
|
|
140
|
-
| `autoReplayEnabled` | property (get/set, default `
|
|
140
|
+
| `autoReplayEnabled` | property (get/set, default `false`) | Looping. Off by default: a replay plays once and stops, firing `ended`; a page that wants a loop turns it **on** |
|
|
141
141
|
| `playbackState` | property (readonly) | `"stopped"`, `"playing"` or `"paused"` |
|
|
142
142
|
| `currentTime` / `seekableDuration` | property | The playhead and its range, in the timeline's own units (see `positionLabel` for why those are not real milliseconds) |
|
|
143
143
|
|
|
@@ -155,8 +155,8 @@ given — but in the editor, editing either date clears an explicit `durationSec
|
|
|
155
155
|
more recent edit is the one that wins rather than being silently outranked). Watching a 5-minute sighting then takes 5 real minutes, not however long the recording itself took to
|
|
156
156
|
author (e.g. a quick mouse drag) — drag the seek bar directly to skip ahead. The start/end labels around the seek
|
|
157
157
|
bar show real clock times when `time` has an hour (e.g. `02:45` → `02:50`); otherwise they show `0:00` → the
|
|
158
|
-
duration actually available (the declared one if known, else the recording's own length). Playback
|
|
159
|
-
default; a page that wants it to
|
|
158
|
+
duration actually available (the declared one if known, else the recording's own length). Playback plays once and
|
|
159
|
+
stops by default; a page that wants it to loop sets `autoReplayEnabled = true` (there is no button for it).
|
|
160
160
|
|
|
161
161
|
Clicking anywhere on the canvas also toggles Play/Pause (not just the button), and DOUBLE-clicking it toggles
|
|
162
162
|
fullscreen — both matching common video-player UX. A double-click is two clicks first, so click-to-play has
|