ravnur-player-public 3.5.11 → 3.5.16
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/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,57 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.5.16] - 2026-07-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Closed captions are now supported for audio files. When an audio source
|
|
13
|
+
includes caption tracks, the player displays the captions button and renders
|
|
14
|
+
captions during playback, providing the same captions experience as video.
|
|
15
|
+
|
|
16
|
+
## [3.5.15] - 2026-06-29
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- New `autoStartCaptions` option. When enabled, captions are turned on by default
|
|
21
|
+
if the media has them — including live streams with subtitle tracks. A viewer's
|
|
22
|
+
choice to turn captions off is remembered and respected on future playback.
|
|
23
|
+
|
|
24
|
+
## [3.5.14] - 2026-06-23
|
|
25
|
+
|
|
26
|
+
This release brings closed captions to audio playback.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Closed captions are now available for audio files that have caption tracks —
|
|
31
|
+
the captions button and on-screen caption text now show in audio mode, just
|
|
32
|
+
like for video. Audio without captions is unaffected.
|
|
33
|
+
|
|
34
|
+
## [3.5.12] - 2026-06-10
|
|
35
|
+
|
|
36
|
+
This release adds built-in Google Analytics 4 media tracking — enable it with a
|
|
37
|
+
single option, no external tracking code required.
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
- Google Analytics 4 integration, enabled by the new `useGA` option and
|
|
42
|
+
configured via `ga`:
|
|
43
|
+
- `ga.measurementId` — GA4 Measurement ID (`G-XXXXXXXXXX`). The player loads
|
|
44
|
+
`gtag` itself when it is not already present on the page.
|
|
45
|
+
- `ga.userId` — optional pseudonymous viewer id sent as the GA4 `user_id`.
|
|
46
|
+
Never pass PII (email, username) — prohibited by Google ToS.
|
|
47
|
+
- `ga.cookieFlags` — optional cookie attributes, e.g. `'SameSite=None;Secure'`
|
|
48
|
+
for cross-site iframe embedding.
|
|
49
|
+
- GA4 events: `video_start`, `video_pause`, `video_seek_start`,
|
|
50
|
+
`video_seek_complete`, `video_progress` (25/50/75%), `video_complete`, and
|
|
51
|
+
`video_chapter`.
|
|
52
|
+
- New `chapterchanged` player event, emitted when playback enters a chapter /
|
|
53
|
+
cue point: `player.on('chapterchanged', (chapter, index) => ...)`.
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
|
|
57
|
+
- General extension rendering and captions bug fixes.
|
|
58
|
+
|
|
8
59
|
## [3.5.11] - 2026-05-12
|
|
9
60
|
|
|
10
61
|
This release introduces a completely new, polished visual design while keeping
|