ravnur-player-public 3.5.10 → 3.5.15
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 +26 -1
- package/README.md +1 -1
- package/dist/RavnurMediaPlayer.min.js +1 -1
- package/dist/cdn/RavnurMediaPlayer.min.js +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,32 @@ 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.
|
|
8
|
+
## [3.5.12] - 2026-06-10
|
|
9
|
+
|
|
10
|
+
This release adds built-in Google Analytics 4 media tracking — enable it with a
|
|
11
|
+
single option, no external tracking code required.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Google Analytics 4 integration, enabled by the new `useGA` option and
|
|
16
|
+
configured via `ga`:
|
|
17
|
+
- `ga.measurementId` — GA4 Measurement ID (`G-XXXXXXXXXX`). The player loads
|
|
18
|
+
`gtag` itself when it is not already present on the page.
|
|
19
|
+
- `ga.userId` — optional pseudonymous viewer id sent as the GA4 `user_id`.
|
|
20
|
+
Never pass PII (email, username) — prohibited by Google ToS.
|
|
21
|
+
- `ga.cookieFlags` — optional cookie attributes, e.g. `'SameSite=None;Secure'`
|
|
22
|
+
for cross-site iframe embedding.
|
|
23
|
+
- GA4 events: `video_start`, `video_pause`, `video_seek_start`,
|
|
24
|
+
`video_seek_complete`, `video_progress` (25/50/75%), `video_complete`, and
|
|
25
|
+
`video_chapter`.
|
|
26
|
+
- New `chapterchanged` player event, emitted when playback enters a chapter /
|
|
27
|
+
cue point: `player.on('chapterchanged', (chapter, index) => ...)`.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- General extension rendering and captions bug fixes.
|
|
32
|
+
|
|
33
|
+
## [3.5.11] - 2026-05-12
|
|
9
34
|
|
|
10
35
|
This release introduces a completely new, polished visual design while keeping
|
|
11
36
|
the overall player structure familiar.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ A flexible, video player supporting HLS, DASH, DRM, live streams, captions, play
|
|
|
7
7
|
- 🎮 [Playground](https://ravplayer.ravnur.com/) — Experiment with options and sources in real time
|
|
8
8
|
- 🚀 [Installation](https://ravplayer.ravnur.com/getting-started/installation) — Get up and running
|
|
9
9
|
- 📘 [Basic Usage](https://ravplayer.ravnur.com/examples/basic-usage) — A complete walkthrough to get started
|
|
10
|
-
- 📋 [Changelog](
|
|
10
|
+
- 📋 [Changelog](https://ravplayer.ravnur.com/changelog) — Release notes and version history
|
|
11
11
|
|
|
12
12
|
### API Reference
|
|
13
13
|
|