@rr0/ufoathome 0.60.2 → 0.61.1

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 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 `true`) | Looping. A page playing recordings in turn has to turn it **off**, or the first one never ends |
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 loops by
159
- default — click the loop button (pressed = looping) to play once and stop instead.
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
@@ -168,7 +168,7 @@ While playing, the toolbar and the fullscreen button (top-right, semi-transparen
168
168
  only reappear on hover — always shown while paused/stopped. The fullscreen button uses the standard Fullscreen API
169
169
  (`requestFullscreen`/`exitFullscreen`); exiting with Escape is native browser behavior, nothing custom.
170
170
 
171
- Labels (Play/Pause, Auto-replay, Current position, Duration, Fullscreen) are translated (English/French) by
171
+ Labels (Play/Pause, Current position, Duration, Fullscreen) are translated (English/French) by
172
172
  detection, falling back to English — there's no language-picker UI, and there deliberately isn't one. What is
173
173
  detected is the **host page's own declared language first** (the nearest `lang` attribute, so `<html lang="fr">`
174
174
  gets French labels), then `navigator.languages` — see `HostLocale.preferencesFor`. A page states what language its
@@ -0,0 +1 @@
1
+ const e={play:"Lecture",pause:"Pause",noDuration:"Aucune durée d'observation",currentPosition:"Position actuelle",duration:"Durée",switchToElapsed:"cliquer pour afficher la durée écoulée",switchToClockTime:"cliquer pour afficher l'heure de l'observation",fullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",showWitnessMap:"Voir où était le témoin",hideWitnessMap:"Masquer où était le témoin",mapImageryUnavailable:"Vue aérienne indisponible",showReferences:"Voir les photos des lieux",hideReferences:"Masquer les photos des lieux",referenceOpacity:"Opacité des photos",showMilestones:"Voir les moments du récit",hideMilestones:"Masquer les moments du récit",witnessHere:"Le témoin, ici",decorHere:"Élément de décor"};export{e as ufoMessages_fr};