Skip to content

Commit

Permalink
Merge pull request #16 from sheetalVBijale/NR-308997
Browse files Browse the repository at this point in the history
Language attribute added in videojs tracker to capture dynamically
  • Loading branch information
asllop authored Sep 18, 2024
2 parents d4e115a + 6cffbc6 commit e2013cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export default class VideojsTracker extends nrvideo.VideoTracker {
}
}

getLanguage() {
return this.player?.language()
}

getSrc () {
let tech = this.getTech()
if (tech && tech.getSrc) {
Expand Down

0 comments on commit e2013cf

Please sign in to comment.