Bug fixes
- Updated the bundled
@newrelic/video-coredependency to v5.0.1, adding Japan (JP) region collector support for Vega/Fire TV tracking.
Bug fixes
- Updated the bundled
@newrelic/video-coredependency to v5.0.1, adding Japan(JP) region collector support for Vega/Fire TV tracking.
Bug fixes
- Updated the bundled
@newrelic/video-coredependency to v5.0.1, adding Japan(JP) region collector support for Vega/Fire TV tracking.
What's changed
- feat: Add Vega Video Monitoring support by @rajeevkumar-nr in https://github.com/newrelic/video-html5-js/pull/58
- Release/06 jul2026 by @rajeevkumar-nr in https://github.com/newrelic/video-html5-js/pull/59
- feat: Update html5 tracker version by @rajeevkumar-nr in https://github.com/newrelic/video-html5-js/pull/61
Full Changelog: https://github.com/newrelic/video-html5-js/compare/v4.1.2...v5.0.0
Ce qui a changé
- feat : ajout de la prise en charge du monitoring vidéo Vega par @rajeevkumar-nr dans https://github.com/newrelic/video-html5-js/pull/58
- Sortie/06 juillet 2026 par @rajeevkumar-nr dans https://github.com/newrelic/video-html5-js/pull/59
- feat : mise à jour de la version du tracker html5 par @rajeevkumar-nr dans https://github.com/newrelic/video-html5-js/pull/61
Changelog complet: https://github.com/newrelic/video-html5-js/compare/v4.1.2...v5.0.0
What's changed
- chore: release updated by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/39
- Fix/workflow by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/40
- chore: add smart release detection and improve workflow triggers by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/41
- fix: buffer end fix by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/44
- Release/25 may2026 by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/45
- chore: add release notes docs PR workflow by @ametku in https://github.com/newrelic/video-html5-js/pull/46
- chore: release workflow updated by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/49
- fix: address docs reviewer comments on release notes PR format by @mlychndnnr in https://github.com/newrelic/video-html5-js/pull/52
- chore: trigger release-notes-docs-pr after release creation by @ametku in https://github.com/newrelic/video-html5-js/pull/56
- chore(release): v4.1.2 by @github-actions[bot] in https://github.com/newrelic/video-html5-js/pull/50
New Contributors
- @github-actions[bot] made their first contribution in https://github.com/newrelic/video-html5-js/pull/50
Full Changelog: https://github.com/newrelic/video-html5-js/compare/v4.1.1...v4.1.2
Ce qui a changé
- chore : sortie mise à jour par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/39
- Fix/workflow par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/40
- chore : ajout de la détection intelligente de sortie et amélioration des déclencheurs de workflow par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/41
- fix : correction de la fin du tampon par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/44
- Sortie/25 may2026 par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/45
- chore : ajout du workflow de PR de documentation des notes de sortie par @ametku dans https://github.com/newrelic/video-html5-js/pull/46
- chore : workflow de sortie mis à jour par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/49
- fix : traiter les commentaires du réviseur de la documentation sur le format de la PR des notes de sortie par @mlychndnnr dans https://github.com/newrelic/video-html5-js/pull/52
- chore : déclencher release-notes-docs-pr après la création de la sortie par @ametku dans https://github.com/newrelic/video-html5-js/pull/56
- chore(sortie) : v4.1.2 par @github-actions[bot] dans https://github.com/newrelic/video-html5-js/pull/50
Nouveaux contributeurs
- @github-actions[bot] a apporté sa première contribution dans https://github.com/newrelic/video-html5-js/pull/50
Changelog complet: https://github.com/newrelic/video-html5-js/compare/v4.1.1...v4.1.2
Highlights
- Explicit opt-in for AWS MediaTailor, with full support for custom CDN domains.
- New
config.ad.typeAPI to choose between CSAI and SSAI (DAI,MT) ad tracking — no more URL-based guessing for SSAI. - End-to-end logging through
nrvideo.Log, with active detection mode logged at startup.
Features
MediaTailor custom CDN support
Replaced URL-based auto-detection with explicit opt-in.
- Enabled the tracker via
mediatailor: true(ormediatailor: { trackingUrl, adSegmentPrefix }), supporting both default AWS hostnames and custom CDN domains. - Added
MT_DEFAULT_AD_SEGMENT_PATH(/tm/) constant for AWS-recommended CDN ad-segment path; ad segments rewritten to a custom CDN domain under/tm/are detected automatically. - Updated
isMediaTailorSegment()to check the default AWS segments hostname, the/tm/path, and an optional customer-suppliedadSegmentPrefix. - Threaded
adSegmentPrefixthrough HLS (VHS) and DASH manifest parsing. - Added explicit session initialization via
mediatailor: { trackingUrl }forPOST /v1/session/flows.
Ad tracking configuration
Introduced config.ad.type to control ad tracker selection.
- Exposed
AD_TRACKINGconstant with CSAI (flat value covering IMA / Brightcove IMA / Freewheel / generic) and SSAI sub-types (DAI,MT). - Required an explicit sub-type for SSAI — each platform needs its own SDK and cannot be auto-detected.
- Mapped
SSAI.MTto implymediatailor: true. - Added a fallback to CSAI auto-detection with a warning when
config.ad.typeis unset (backward compatible for v4.1.2 users). - Co-located
segmentPrefixandtrackingUrlunderconfig.ad. - Added
DaiAdsTrackerto static exports.
Logging improvements
- Exposed
VideojsTracker.Logas a static so UMD callers can set log level. - Added logging of the active ad segment detection mode at tracker startup.
- Added logging of the matched ad segment detection path on the first ad break (once per session).
- Added logging of which CSAI framework was auto-detected (BrightcoveIma / IMA / Freewheel / generic).
- Replaced
console.log/warn/errorwithnrvideo.Logacross MediaTailor files.
Bug fixes
- Fixed buffer end handling in tracker.
- Fixed
register-plugin.jssilently dropping the options object and not forwarding it to theTrackerJSconstructor.
Documentation
- Updated the README and SSAI docs for custom CDN support, clarified when
trackingUrlandadSegmentPrefixoverrides are needed, and cleaned upsessionIdreferences. - Corrected
adSegmentPrefixreferences toconfig.ad.segmentPrefixin the SSAI troubleshooting docs.
Upgrade from 4.1.x
- No breaking changes for CSAI users. If
config.ad.typeis unset, the tracker still auto-detects CSAI frameworks (with a one-time warning). - MediaTailor users must opt in explicitly. Replace any URL-pattern reliance with one of:
mediatailor: true(default AWS hostnames +/tm/path)mediatailor: { trackingUrl, adSegmentPrefix }(custom CDN / explicit session init)config.ad.type: AD_TRACKING.SSAI.MT
- If you previously passed
adSegmentPrefixat the top level, move it toconfig.ad.segmentPrefix.
Points forts
- Opt-in explicite pour AWS MediaTailor, avec prise en charge complète des domaines CDN personnalisés.
- Nouvelle API
config.ad.typepour choisir entre le suivi publicitaire CSAI et SSAI (DAI,MT) — plus de déduction basée sur l’URL pour le SSAI. - Enregistrement de bout en bout via
nrvideo.Log, avec le mode de détection active enregistré dans le log au démarrage.
Caractéristiques
Prise en charge du CDN personnalisé MediaTailor
Remplacement de l'auto-détection basée sur l'URL par une activation explicite.
- Activation du tracker via
mediatailor: true(oumediatailor: { trackingUrl, adSegmentPrefix }), prenant en charge à la fois les noms d’hôte AWS par défaut et les domaines CDN personnalisés. - Ajout de la constante
MT_DEFAULT_AD_SEGMENT_PATH(/tm/) pour le chemin de segment publicitaire CDN recommandé par AWS ; les segments publicitaires réécrits vers un domaine CDN personnalisé sous/tm/sont détectés automatiquement. - Mise à jour de
isMediaTailorSegment()pour vérifier le nom d’hôte des segments AWS par défaut, le chemin/tm/et unadSegmentPrefixfacultatif fourni par les clients. - Transmission de
adSegmentPrefixà travers l’analyse du manifeste HLS (VHS) et DASH. - Ajout de l’initialisation explicite de session via
mediatailor: { trackingUrl }pour les fluxPOST /v1/session/.
Configuration du suivi publicitaire
Introduction de config.ad.type pour contrôler la sélection du tracker publicitaire.
- Exposition de la constante
AD_TRACKINGavec CSAI (valeur fixe couvrant IMA/Brightcove IMA/Freewheel/générique) et les sous-types SSAI (DAI,MT). - Sous-type explicite requis pour SSAI — chaque plateforme a besoin de son propre SDK et ne peut pas être auto-détectée.
- Mappage de
SSAI.MTpour impliquermediatailor: true. - Ajout d’une solution de repli vers l’auto-détection CSAI avec un avertissement lorsque
config.ad.typen’est pas défini (rétrocompatible pour la v4.1.2 utilisateurs de la v4.1.2). - Colocalisation de
segmentPrefixettrackingUrlsousconfig.ad. - Ajout de
DaiAdsTrackeraux exports statiques.
Améliorations de l'enregistrement
- Exposition de
VideojsTracker.Logen tant que statique afin que les appelants UMD puissent définir le niveau de log. - Ajout de l'enregistrement du mode de détection de segment publicitaire actif au démarrage du tracker.
- Ajout de l’enregistrement du chemin de détection de segment publicitaire correspondant lors de la première coupure publicitaire (une fois par session).
- Ajout de l’enregistrement du framework CSAI détecté automatiquement (BrightcoveIma/IMA/Freewheel/générique).
- Remplacement de
console.log/warn/errorparnrvideo.Logdans les fichiers MediaTailor.
Débogage
- Correction de la gestion de la fin du tampon dans le tracker.
- Correction de
register-plugin.jssupprimant silencieusement l’objet d’options et ne le transmettant pas au constructeurTrackerJS.
Documentation
- Mise à jour du README et de la documentation SSAI pour la prise en charge du CDN personnalisé, clarification des cas où les surcharges
trackingUrletadSegmentPrefixsont nécessaires, et nettoyage des référencessessionId. - Correction des références
adSegmentPrefixàconfig.ad.segmentPrefixdans la documentation de dépannage SSAI.
Mise à niveau depuis la 4.1.x
Aucune modification majeure pour les utilisateurs de CSAI. Si
config.ad.typen'est pas défini, le tracker auto-détecte toujours les frameworks CSAI (avec un avertissement unique).Les utilisateurs de MediaTailor doivent accepter explicitement. Remplacer toute dépendance à un modèle d'URL par l'un des éléments suivants :
mediatailor: true(noms d’hôte AWS par défaut + chemin/tm/)mediatailor: { trackingUrl, adSegmentPrefix }(CDN personnalisé/initialisation explicite de session)config.ad.type: AD_TRACKING.SSAI.MT
Si vous passiez précédemment
adSegmentPrefixau niveau supérieur, déplacez-le versconfig.ad.segmentPrefix.
Highlights
- Added MediaTailor SSAI tracker initialization on loadstart after source load detection.
- Added DAI stream manager support through the stream-manager event.
- Improved bitrate reporting with:
- Playback bitrate (
AVERAGE-BANDWIDTH/BANDWIDTH) - Manifest max bitrate
- Segment download bitrate
- Network throughput bitrate
- Playback bitrate (
Improvements
- Refined ad and content event handling to avoid duplicate or incorrect content events while ads are active for following events:
- Pause/Resume
- Seek Start/End
- Buffer Start
- Improved end-of-content handling for ad-enabled playback paths during IMA and Freewheel scenarios.
- Added safer fallback logic for tech wrappers (
Hls.js,Shaka,contrib-hls) when bitrate data is unavailable in VHS.
Technical notes
- Tracker metadata and playback context methods remain aligned with Video.js/Brightcove integrations:
- Retrieves the title, ID, and duration from
mediainfowhen available. - Retrieves source and rendition data from the active tech component when available.
- Retrieves the title, ID, and duration from
- Updated the Listener registration and unregistration to include ad and stream manager lifecycle events.